957049 - Fixing 500 error from pressing enter

Pressing enter when focused on the rule input box caused the form to submit.
Now we're preventing that and instead binding enter to the add_rule link.