Change categories when editing a rule

#165 
The indentation in here is a bit off