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.
Merge pull request #2336 from daviddavis/957049

957049 - Fixing 500 error from pressing enter