validate plugin: multiple forms with same form field names

validate plugin: multiple forms with same form field names

I am trying to use the rules() method to add rules to input fields, and I have multiple forms on the same page with the same input fields.  Each input field has a unique id, but the name is the same across forms.  Using the rules() method I am seeing behaviour where validations "leak" from one form to another.

I am assuming that the plugin is registering the rule based only on the field name, and not based on the form, so when the form is actually validated I'm getting rules registered for fieldA on formA firing for fieldA on formB.

Is this expected behaviour, and if so, does it seem like something that should be fixed?

Note that if I just use addClass() instead of rules() it works as expected. I have attached a small test template that demonstrates this issue.

Thanks,
Bob