title: drools: how to assign to local variable
body: <p>I'm stuck with Drools 5 and need a little help.
  What I'd like to do is use a passed in DAO and assign a value from that to a local variable, like this...</p>
  
  <pre><code>rule "test rule 1"
  when
      $carDao : ICarDAO( )
      $x : $carDao.getMap()
      eval (
         $x.contains("a") &amp;&amp; $x.contains("b")
      )
  then
  // do stuff
  end
  </code></pre>
  
  <p>Drools 5 doesn't allow assignment of local variables though.
  I'd like to assign to a local variable so that I don't have to make the same call twice to the DAO.</p>
  
  <p>So could someone point me in the correct direction please?</p>
  
  <p>Thanks!
  Jeff Porter</p>