Update a rule

Modify rule attributes.