title: jQuery validator addMethod not working correctly
body: <p>I am using a new validation rule with the jQuery validation.  It is somehow not applied though? It is contained within a javascript file that is included after <code>jquery.validate.js</code>.  When should I include the js file that contains my custom rules for them to be applied?</p>
  
  <p>When I enter <code>0.1</code> into an input that should validate against this nothing happens, the <code>console.log</code> isnt hit neither is the alert.</p>
  
  <pre><code>$(document).ready(function(){
      jQuery.validator.addMethod('integer', function(value, element, param) {
          console.log(value); alert("hey");
  
          return (value != 0) &amp;&amp; (value == parseInt(value, 10));
      }, 'Please enter a non zero integer value!');
  });
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;input class="required number integer valid" type="text" data-type="int" value="1" name="Default.MinArrivals" title=""&gt;
  </code></pre>
  
  <p>The classes <code>required</code> and <code>number</code> work perfectly, it is just my <code>integer</code> method that doesn't work correctly.</p>