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