Change categories when editing a rule

#165 
What happens if there is no .rulemenu? Also that first option tag is no inside the rulemenu loop, but it has a rulemenu.S_RULE_PARENT in it.