rule applier tests