Lookup the rulepairs in groups (separator: pair with no "NONE" rules)