fix for resetting rules and messages for multiple forms