group rules by name (good for hiding rewrite rules)