jquery validate - pass in rules as an array?
<p>Im using jquery.validate but im passing in my rules as an array, is this possible? It doesnt seem to work, can anyone point me in the right directions?</p>

<p>Thanks!</p>

<pre><code>rules:{
            for (var i=0;i&lt;myRules.length;i++)
            { 
                myRules[i]:{
                    required = true;
                }
            }
        },
</code></pre>
