I think this is possible by treating interfaces tagged with `@api` and those without differently in the rules.