Returned ability to specify error message template
Implemented saving of first failed rule