Change categories when editing a rule

#165 
the padding is not a true/false switch, so it should not be `S_`