fix for resetting rules and messages for multiple forms

When dealing with multiple forms on one request, rules were not reset. These changes fix the issue and will reset rules and messages for multiple forms.