<?xml version="1.0" encoding="UTF-8"?> 
<process xmlns="http://drools.org/drools-5.0/process"
         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
         xs:schemaLocation="http://drools.org/drools-5.0/process drools-processes-5.0.xsd"
         type="RuleFlow" name="flow" id="firstFlow" package-name="org.brms.qa.package" version="0.1" >

  <header>
  </header>

  <nodes>
    <ruleSet id="16" name="3" x="205" y="232" width="80" height="40" ruleFlowGroup="three" />
    <start id="1" name="Start" x="111" y="16" width="80" height="40" />
    <ruleSet id="4" name="2" x="16" y="232" width="80" height="40" ruleFlowGroup="two" />
    <ruleSet id="5" name="youngerThan100" x="404" y="377" width="150" height="40" ruleFlowGroup="five" />
    <split id="7" name="Split" x="111" y="160" width="80" height="40" type="1" />
    <milestone id="8" name="Event Wait" x="16" y="592" width="80" height="40" >
      <constraint type="rule" dialect="mvel" >Cheese(type == "maazdam")</constraint>
    </milestone>
    <ruleSet id="9" name="olderThan100" x="83" y="376" width="150" height="40" ruleFlowGroup="four" />
    <actionNode id="10" name="Action" x="16" y="664" width="80" height="40" >
        <action type="expression" dialect="mvel" >System.out.println("FINALLY AT HOME!!!")</action>
    </actionNode>
    <ruleSet id="11" name="init" x="111" y="88" width="80" height="40" ruleFlowGroup="one" />
    <end id="12" name="End" x="16" y="736" width="80" height="40" />
    <join id="13" name="Join" x="300" y="448" width="80" height="40" type="2" />
    <split id="14" name="Split" x="300" y="304" width="80" height="40" type="2" >
      <constraints>
        <constraint toNodeId="9" toType="DROOLS_DEFAULT" name="constraint" priority="1" type="rule" dialect="mvel" >Person(age &gt; 100)</constraint>
        <constraint toNodeId="13" toType="DROOLS_DEFAULT" name="constraint" priority="2" type="rule" dialect="mvel" >eval(true)</constraint>
        <constraint toNodeId="5" toType="DROOLS_DEFAULT" name="constraint" priority="-1" type="rule" dialect="mvel" >Person(age&lt;100, age &gt; 50)</constraint>
      </constraints>
    </split>
    <join id="15" name="Join" x="16" y="520" width="80" height="40" type="1" />
  </nodes>

  <connections>
    <connection from="7" to="16" />
    <connection from="7" to="4" />
    <connection from="14" to="5" />
    <connection from="11" to="7" />
    <connection from="15" to="8" />
    <connection from="14" to="9" />
    <connection from="8" to="10" />
    <connection from="1" to="11" />
    <connection from="10" to="12" />
    <connection from="14" to="13" />
    <connection from="5" to="13" />
    <connection from="9" to="13" />
    <connection from="16" to="14" />
    <connection from="4" to="15" />
    <connection from="13" to="15" />
  </connections>

</process>