form validation rules not followed
<p>I am using jQuery Validation Plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/)</p>

<p>I have wrote following rule</p>

<pre><code>jQuery.validator.addMethod("valueNotEquals", function(value, element, arg){
return arg != value; }, "Value must not equal arg.");
</code></pre>

<p>I have wrote following rules and message</p>

<pre><code>    rules: {
        filelist:{required:function() {return jQuery('input[name|="producthosting"]:checked').val() == 'us';},valueNotEquals:"-1"}
    },
    messages: {
        filelist:{
            required:"Please select a file",
            valueNotEquals:"Please select a valid file"
        }
    }
</code></pre>

<p>Now, I need to validate <strong>valueNotEquals</strong> only if 
input with name "producthosting" is "us"</p>

<p>right now, above rule throws error even if "producthosting" value is not equal to "us"</p>

<p>How can I achieve it?</p>
