title: How to add multiple IF conditions in one rule?
body: <p>If I have the following rule:</p>
  
  <pre><code>if (a == true &amp;&amp; b == 0)
     return errorsenum.somerror1;
  else if (b &lt; c)
     return errorsenum.somerror2;
  </code></pre>
  
  <p>How can I implement the above as a FluentValidation rule?</p>
  
  <p>EDIT:</p>
  
  <p>Would these 2 rules work?</p>
  
  <pre><code>RuleFor(x =&gt; x.b).GreaterThan(0).When(x =&gt; x.a);
  RuleFor(x =&gt; x.b).GreaterThanOrEqualTo(x =&gt; x.c);
  </code></pre>