fix enforcer rule failures for transitive dependencies
more fixes for enforcer rule failures for transitive dependencies