title: How to declare a List in Drools rule
body: <p>I've got a simple object construction. The class <code>ContextDroolsObject</code> has a property of type <code>Map</code> called <code>objects</code>. Inside that map there's a key <code>"imageThemes"</code> with an <code>ArrayList</code> and this rule here never matches:</p>
  
  <pre><code>import java.util.ArrayList;
  import java.util.Map;
  import com.my.ContextDroolsObject;
  
  dialect 'java'
  
  
  rule 'Soccer Image Theme'
      salience 100
      when
          s : ContextDroolsObject()
          objectsm : Map() from s.objects
           imageThemesList : ArrayList() from outputsm.imageThemes
      then
  System.out.println("-----------------------soccer");
      end
  </code></pre>
  
  <p>I've also tried with List() with same result.</p>
  
  <p>¿How to match the list declaration?</p>