Change categories when editing a rule

#165 
or rule_parents_menu ?