title: FluentValidation range throws InvalidOperationException in Razor view
body: <p>i'm working with ASP MVC 5, and i'm pretty new using FluentValidation.</p>
  
  <p>I'm trying to validate a simple range.</p>
  
  <p>I have a class like this</p>
  
  <pre><code>public int Property { get; set; }
  </code></pre>
  
  <p>And this is my validation</p>
  
  <pre><code>RuleFor(x =&gt; x.Property).NotEmpty()
                  .GreaterThanOrEqualTo(1)
                  .LessThanOrEqualTo(20);
  </code></pre>
  
  <p>When i want to use it in razor view using <code>EditorFor</code></p>
  
  <pre><code>@Html.EditorFor(x =&gt; x.FactorK)
  </code></pre>
  
  <p>It throws a <code>InvalidOperationException</code></p>
  
  <blockquote>
    <p>System.InvalidOperationException: The names of the validation types in
    discrete client validation rules must be unique. The following type of
    validation has been observed more than once: range</p>
  </blockquote>
  
  <p>The strange thing is that when trying to use only one method (<code>GreaterThanOrEqual</code> or <code>LessThanOrEqual</code>) it works ok.</p>
  
  <p>For Example, </p>
  
  <pre><code>RuleFor(x =&gt; x.Property).NotEmpty()
                  .GreaterThanOrEqualTo(1);
  </code></pre>
  
  <p>This works.</p>
  
  <p>What am i doing wrong? </p>
  
  <p>Thanks!</p>