title: Check all elements of a list (Drools Expert)
body: <p>I'm trying to write rules in Drools Expert. In the <code>when</code> part of the rule, I check some properties of an <code>Application</code> object. This object contains a List and I would like to check if a bunch of rules apply to all objects of SomeOtherType in this list. The rule should fire only when the constraints are valid for ALL objects in that list.</p>
  
  <pre><code>rule "Application eligible"
      when
          app : Application(
                 some constrains
                 &amp; write some constraints for all objects in app.getList() (a method
                 that returns a List&lt;SomeOtherType&gt; object)
          )
      then 
          // application is eligible
  end
  </code></pre>