Pass a validating model proxy to the handlers.
Reworked the handling of user rules.

Should fix #104.