[rules-users] write a rule file, longest matching?