clean up rule applier and repo to avoid duplicate subjects for same action in a rule