This rule checks that impl scope does not depend on base scope of another component part. Impl scope is only allowed to depend on the base scope of the same component.
package com.devonfw.ide.sonarqube.component1.logic.impl;
import com.devonfw.ide.sonarqube.component2.logic.base.Bar;
public class MyClass {}