more fixes for enforcer rule failures for transitive dependencies