title: Drools how to compare Integer
body: <p>I have an Integer, and I want to compare it to some raw int like so:</p>
  
  <pre><code>    $day : Day()
      $itemsList : from collect(Item())
      $number : Integer() from $day.getNumberOfItemsAvailable($itemsList)
      $number &gt; 4
  </code></pre>
  
  <p>but I'm getting </p>
  
  <pre><code>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=ScoreRules.drl, line=42, column=0
  text=[ERR 102] Line 42:21 mismatched input '&lt;' in rule "rule"]
  </code></pre>
  
  <p>How do you compare an Integer to some other int value? Could you point me to some documentation that explains basics like this?</p>