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