Check to see if a rule has been assigned to a user when enabling or disabling the rule edit button and menu options.
This fixes bug 2715147 - "Assigned-to user can't edit rule".
Authored by: jimwinston 2009-03-26
Parent: [r415]
Child: [r417]