[jboss-svn-commits] JBL Code SVN: r19976 - labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri May 16 20:52:53 EDT 2008


Author: KrisVerlaenen
Date: 2008-05-16 20:52:52 -0400 (Fri, 16 May 2008)
New Revision: 19976

Modified:
   labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/generation.rf
   labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/generation.rfm
   labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/killAll.rf
   labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/killAll.rfm
   labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/registerNeighbor.rf
   labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/registerNeighbor.rfm
Log:
JBRULES-1608: Update examples to use new ruleflow ePDL format
 - updated conway example

Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/generation.rf
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/generation.rf	2008-05-17 00:36:19 UTC (rev 19975)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/generation.rf	2008-05-17 00:52:52 UTC (rev 19976)
@@ -1,567 +1,36 @@
-<org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper id="1" serialization="custom">
-  <org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
-    <default>
-      <elements id="2">
-        <entry>
-          <string>3-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper id="3" serialization="custom">
-            <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-              <default>
-                <constraint id="4">
-                  <x>155</x>
-                  <y>285</y>
-                  <width>80</width>
-                  <height>40</height>
-                </constraint>
-                <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="5">
-                  <ruleFlowGroup>rest</ruleFlowGroup>
-                  <id>3</id>
-                  <name>rest</name>
-                  <incomingConnections id="6">
-                    <org.drools.ruleflow.core.impl.ConnectionImpl id="7">
-                      <type>1</type>
-                      <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="8">
-                        <ruleFlowGroup>evaluate</ruleFlowGroup>
-                        <id>2</id>
-                        <name>evaluate</name>
-                        <incomingConnections id="9">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl id="10">
-                            <type>1</type>
-                            <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="11">
-                              <ruleFlowGroup>calculate</ruleFlowGroup>
-                              <id>7</id>
-                              <name>calculate</name>
-                              <incomingConnections id="12">
-                                <org.drools.ruleflow.core.impl.ConnectionImpl id="13">
-                                  <type>1</type>
-                                  <from class="org.drools.ruleflow.core.impl.StartNodeImpl" id="14">
-                                    <id>1</id>
-                                    <name>Start</name>
-                                    <incomingConnections id="15"/>
-                                    <outgoingConnections id="16">
-                                      <org.drools.ruleflow.core.impl.ConnectionImpl reference="13"/>
-                                    </outgoingConnections>
-                                  </from>
-                                  <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="11"/>
-                                </org.drools.ruleflow.core.impl.ConnectionImpl>
-                              </incomingConnections>
-                              <outgoingConnections id="17">
-                                <org.drools.ruleflow.core.impl.ConnectionImpl reference="10"/>
-                              </outgoingConnections>
-                            </from>
-                            <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="8"/>
-                          </org.drools.ruleflow.core.impl.ConnectionImpl>
-                        </incomingConnections>
-                        <outgoingConnections id="18">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl reference="7"/>
-                        </outgoingConnections>
-                      </from>
-                      <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="5"/>
-                    </org.drools.ruleflow.core.impl.ConnectionImpl>
-                  </incomingConnections>
-                  <outgoingConnections id="19">
-                    <org.drools.ruleflow.core.impl.ConnectionImpl id="20">
-                      <type>1</type>
-                      <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="5"/>
-                      <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="21">
-                        <ruleFlowGroup>reset calculate</ruleFlowGroup>
-                        <id>4</id>
-                        <name>reset calculate</name>
-                        <incomingConnections id="22">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl reference="20"/>
-                        </incomingConnections>
-                        <outgoingConnections id="23">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl id="24">
-                            <type>1</type>
-                            <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="21"/>
-                            <to class="org.drools.ruleflow.core.impl.SplitImpl" id="25">
-                              <type>1</type>
-                              <constraints id="26"/>
-                              <id>9</id>
-                              <name>Split</name>
-                              <incomingConnections id="27">
-                                <org.drools.ruleflow.core.impl.ConnectionImpl reference="24"/>
-                              </incomingConnections>
-                              <outgoingConnections id="28">
-                                <org.drools.ruleflow.core.impl.ConnectionImpl id="29">
-                                  <type>1</type>
-                                  <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="25"/>
-                                  <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="30">
-                                    <ruleFlowGroup>birth</ruleFlowGroup>
-                                    <id>5</id>
-                                    <name>birth</name>
-                                    <incomingConnections id="31">
-                                      <org.drools.ruleflow.core.impl.ConnectionImpl reference="29"/>
-                                    </incomingConnections>
-                                    <outgoingConnections id="32">
-                                      <org.drools.ruleflow.core.impl.ConnectionImpl id="33">
-                                        <type>1</type>
-                                        <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="30"/>
-                                        <to class="org.drools.ruleflow.core.impl.JoinImpl" id="34">
-                                          <type>1</type>
-                                          <id>10</id>
-                                          <name>Join</name>
-                                          <incomingConnections id="35">
-                                            <org.drools.ruleflow.core.impl.ConnectionImpl reference="33"/>
-                                            <org.drools.ruleflow.core.impl.ConnectionImpl id="36">
-                                              <type>1</type>
-                                              <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="37">
-                                                <ruleFlowGroup>kill</ruleFlowGroup>
-                                                <id>6</id>
-                                                <name>kill</name>
-                                                <incomingConnections id="38">
-                                                  <org.drools.ruleflow.core.impl.ConnectionImpl id="39">
-                                                    <type>1</type>
-                                                    <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="25"/>
-                                                    <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="37"/>
-                                                  </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                                </incomingConnections>
-                                                <outgoingConnections id="40">
-                                                  <org.drools.ruleflow.core.impl.ConnectionImpl reference="36"/>
-                                                </outgoingConnections>
-                                              </from>
-                                              <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="34"/>
-                                            </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                          </incomingConnections>
-                                          <outgoingConnections id="41">
-                                            <org.drools.ruleflow.core.impl.ConnectionImpl id="42">
-                                              <type>1</type>
-                                              <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="34"/>
-                                              <to class="org.drools.ruleflow.core.impl.EndNodeImpl" id="43">
-                                                <id>11</id>
-                                                <name>End</name>
-                                                <incomingConnections id="44">
-                                                  <org.drools.ruleflow.core.impl.ConnectionImpl reference="42"/>
-                                                </incomingConnections>
-                                                <outgoingConnections id="45"/>
-                                              </to>
-                                            </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                          </outgoingConnections>
-                                        </to>
-                                      </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                    </outgoingConnections>
-                                  </to>
-                                </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                <org.drools.ruleflow.core.impl.ConnectionImpl reference="39"/>
-                              </outgoingConnections>
-                            </to>
-                          </org.drools.ruleflow.core.impl.ConnectionImpl>
-                        </outgoingConnections>
-                      </to>
-                    </org.drools.ruleflow.core.impl.ConnectionImpl>
-                  </outgoingConnections>
-                </element>
-                <incomingConnections id="46">
-                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="47" serialization="custom">
-                    <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                      <default>
-                        <type>1</type>
-                        <bendpoints id="48"/>
-                        <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="49" serialization="custom">
-                          <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                            <default>
-                              <constraint id="50">
-                                <x>155</x>
-                                <y>190</y>
-                                <width>80</width>
-                                <height>40</height>
-                              </constraint>
-                              <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="8"/>
-                              <incomingConnections id="51">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="52" serialization="custom">
-                                  <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                    <default>
-                                      <type>1</type>
-                                      <bendpoints id="53"/>
-                                      <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="54" serialization="custom">
-                                        <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                          <default>
-                                            <constraint id="55">
-                                              <x>154</x>
-                                              <y>109</y>
-                                              <width>80</width>
-                                              <height>40</height>
-                                            </constraint>
-                                            <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="11"/>
-                                            <incomingConnections id="56">
-                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="57" serialization="custom">
-                                                <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                  <default>
-                                                    <type>1</type>
-                                                    <bendpoints id="58"/>
-                                                    <source class="org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper" id="59" serialization="custom">
-                                                      <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                        <default>
-                                                          <constraint id="60">
-                                                            <x>155</x>
-                                                            <y>21</y>
-                                                            <width>80</width>
-                                                            <height>40</height>
-                                                          </constraint>
-                                                          <element class="org.drools.ruleflow.core.impl.StartNodeImpl" reference="14"/>
-                                                          <incomingConnections id="61"/>
-                                                          <outgoingConnections id="62">
-                                                            <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="57"/>
-                                                          </outgoingConnections>
-                                                        </default>
-                                                      </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                    </source>
-                                                    <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="54"/>
-                                                  </default>
-                                                </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                  <default>
-                                                    <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="13"/>
-                                                  </default>
-                                                </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                              </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                            </incomingConnections>
-                                            <outgoingConnections id="63">
-                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="52"/>
-                                            </outgoingConnections>
-                                            <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                                          </default>
-                                        </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                      </source>
-                                      <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="49"/>
-                                    </default>
-                                  </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                    <default>
-                                      <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="10"/>
-                                    </default>
-                                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                              </incomingConnections>
-                              <outgoingConnections id="64">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="47"/>
-                              </outgoingConnections>
-                              <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                            </default>
-                          </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                        </source>
-                        <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="3"/>
-                      </default>
-                    </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                    <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                      <default>
-                        <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="7"/>
-                      </default>
-                    </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                </incomingConnections>
-                <outgoingConnections id="65">
-                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="66" serialization="custom">
-                    <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                      <default>
-                        <type>1</type>
-                        <bendpoints id="67"/>
-                        <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="3"/>
-                        <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="68" serialization="custom">
-                          <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                            <default>
-                              <constraint id="69">
-                                <x>155</x>
-                                <y>382</y>
-                                <width>80</width>
-                                <height>40</height>
-                              </constraint>
-                              <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="21"/>
-                              <incomingConnections id="70">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="66"/>
-                              </incomingConnections>
-                              <outgoingConnections id="71">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="72" serialization="custom">
-                                  <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                    <default>
-                                      <type>1</type>
-                                      <bendpoints id="73"/>
-                                      <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="68"/>
-                                      <target class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" id="74" serialization="custom">
-                                        <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                          <default>
-                                            <constraint id="75">
-                                              <x>155</x>
-                                              <y>470</y>
-                                              <width>80</width>
-                                              <height>40</height>
-                                            </constraint>
-                                            <element class="org.drools.ruleflow.core.impl.SplitImpl" reference="25"/>
-                                            <incomingConnections id="76">
-                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="72"/>
-                                            </incomingConnections>
-                                            <outgoingConnections id="77">
-                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="78" serialization="custom">
-                                                <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                  <default>
-                                                    <type>1</type>
-                                                    <bendpoints id="79"/>
-                                                    <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="74"/>
-                                                    <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="80" serialization="custom">
-                                                      <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                        <default>
-                                                          <constraint id="81">
-                                                            <x>23</x>
-                                                            <y>566</y>
-                                                            <width>80</width>
-                                                            <height>40</height>
-                                                          </constraint>
-                                                          <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="30"/>
-                                                          <incomingConnections id="82">
-                                                            <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="78"/>
-                                                          </incomingConnections>
-                                                          <outgoingConnections id="83">
-                                                            <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="84" serialization="custom">
-                                                              <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                                <default>
-                                                                  <type>1</type>
-                                                                  <bendpoints id="85"/>
-                                                                  <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="80"/>
-                                                                  <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" id="86" serialization="custom">
-                                                                    <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                                      <default>
-                                                                        <constraint id="87">
-                                                                          <x>155</x>
-                                                                          <y>648</y>
-                                                                          <width>80</width>
-                                                                          <height>40</height>
-                                                                        </constraint>
-                                                                        <element class="org.drools.ruleflow.core.impl.JoinImpl" reference="34"/>
-                                                                        <incomingConnections id="88">
-                                                                          <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="84"/>
-                                                                          <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="89" serialization="custom">
-                                                                            <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                                              <default>
-                                                                                <type>1</type>
-                                                                                <bendpoints id="90"/>
-                                                                                <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="91" serialization="custom">
-                                                                                  <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                                                    <default>
-                                                                                      <constraint id="92">
-                                                                                        <x>287</x>
-                                                                                        <y>566</y>
-                                                                                        <width>80</width>
-                                                                                        <height>40</height>
-                                                                                      </constraint>
-                                                                                      <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="37"/>
-                                                                                      <incomingConnections id="93">
-                                                                                        <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="94" serialization="custom">
-                                                                                          <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                                                            <default>
-                                                                                              <type>1</type>
-                                                                                              <bendpoints id="95"/>
-                                                                                              <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="74"/>
-                                                                                              <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="91"/>
-                                                                                            </default>
-                                                                                          </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                                                          <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                                            <default>
-                                                                                              <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="39"/>
-                                                                                            </default>
-                                                                                          </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                                        </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                                      </incomingConnections>
-                                                                                      <outgoingConnections id="96">
-                                                                                        <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="89"/>
-                                                                                      </outgoingConnections>
-                                                                                      <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                                                                                    </default>
-                                                                                  </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                                                </source>
-                                                                                <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="86"/>
-                                                                              </default>
-                                                                            </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                                            <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                              <default>
-                                                                                <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="36"/>
-                                                                              </default>
-                                                                            </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                          </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                        </incomingConnections>
-                                                                        <outgoingConnections id="97">
-                                                                          <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="98" serialization="custom">
-                                                                            <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                                              <default>
-                                                                                <type>1</type>
-                                                                                <bendpoints id="99"/>
-                                                                                <source class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="86"/>
-                                                                                <target class="org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper" id="100" serialization="custom">
-                                                                                  <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                                                    <default>
-                                                                                      <constraint id="101">
-                                                                                        <x>155</x>
-                                                                                        <y>751</y>
-                                                                                        <width>80</width>
-                                                                                        <height>40</height>
-                                                                                      </constraint>
-                                                                                      <element class="org.drools.ruleflow.core.impl.EndNodeImpl" reference="43"/>
-                                                                                      <incomingConnections id="102">
-                                                                                        <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="98"/>
-                                                                                      </incomingConnections>
-                                                                                      <outgoingConnections id="103"/>
-                                                                                      <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                                                                                    </default>
-                                                                                  </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                                                </target>
-                                                                              </default>
-                                                                            </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                                            <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                              <default>
-                                                                                <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="42"/>
-                                                                              </default>
-                                                                            </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                          </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                        </outgoingConnections>
-                                                                        <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                                                                      </default>
-                                                                    </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                                  </target>
-                                                                </default>
-                                                              </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                                <default>
-                                                                  <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="33"/>
-                                                                </default>
-                                                              </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                            </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                          </outgoingConnections>
-                                                          <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                                                        </default>
-                                                      </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                    </target>
-                                                  </default>
-                                                </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                  <default>
-                                                    <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="29"/>
-                                                  </default>
-                                                </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                              </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="94"/>
-                                            </outgoingConnections>
-                                            <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                                          </default>
-                                        </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                        <org.drools.eclipse.flow.ruleflow.core.SplitWrapper>
-                                          <default/>
-                                        </org.drools.eclipse.flow.ruleflow.core.SplitWrapper>
-                                      </target>
-                                    </default>
-                                  </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                    <default>
-                                      <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="24"/>
-                                    </default>
-                                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                              </outgoingConnections>
-                              <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                            </default>
-                          </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                        </target>
-                      </default>
-                    </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                    <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                      <default>
-                        <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="20"/>
-                      </default>
-                    </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                </outgoingConnections>
-                <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-              </default>
-            </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-          </org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper>
-        </entry>
-        <entry>
-          <string>4-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="68"/>
-        </entry>
-        <entry>
-          <string>7-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="54"/>
-        </entry>
-        <entry>
-          <string>9-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.SplitWrapper reference="74"/>
-        </entry>
-        <entry>
-          <string>2-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="49"/>
-        </entry>
-        <entry>
-          <string>10-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.JoinWrapper reference="86"/>
-        </entry>
-        <entry>
-          <string>11-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper reference="100"/>
-        </entry>
-        <entry>
-          <string>1-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper reference="59"/>
-        </entry>
-        <entry>
-          <string>6-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="91"/>
-        </entry>
-        <entry>
-          <string>5-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="80"/>
-        </entry>
-      </elements>
-      <process class="org.drools.ruleflow.core.impl.RuleFlowProcessImpl" id="104">
-        <nodes id="105">
-          <entry>
-            <long>1</long>
-            <org.drools.ruleflow.core.impl.StartNodeImpl reference="14"/>
-          </entry>
-          <entry>
-            <long>2</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="8"/>
-          </entry>
-          <entry>
-            <long>3</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="5"/>
-          </entry>
-          <entry>
-            <long>4</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="21"/>
-          </entry>
-          <entry>
-            <long>5</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="30"/>
-          </entry>
-          <entry>
-            <long>6</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="37"/>
-          </entry>
-          <entry>
-            <long>7</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="11"/>
-          </entry>
-          <entry>
-            <long>9</long>
-            <org.drools.ruleflow.core.impl.SplitImpl reference="25"/>
-          </entry>
-          <entry>
-            <long>10</long>
-            <org.drools.ruleflow.core.impl.JoinImpl reference="34"/>
-          </entry>
-          <entry>
-            <long>11</long>
-            <org.drools.ruleflow.core.impl.EndNodeImpl reference="43"/>
-          </entry>
-        </nodes>
-        <variables id="106"/>
-        <lastNodeId>12</lastNodeId>
-        <id>generation</id>
-        <name>generation</name>
-        <version>1</version>
-        <type>RuleFlow</type>
-        <packageName>org.drools.examples</packageName>
-      </process>
-      <routerLayout>2</routerLayout>
-    </default>
-  </org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
-</org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?> 
+<process xmlns="http://drools.org/drools-4.0/process"
+         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+         xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+         type="RuleFlow" name="generation" id="generation" package-name="org.drools.examples" version="1" >
+
+  <header>
+  </header>
+
+  <nodes>
+    <start id="1" name="Start" x="112" y="31" width="80" height="40" />
+    <ruleSet id="2" name="calculate" x="113" y="104" width="80" height="40" ruleFlowGroup="calculate" />
+    <ruleSet id="3" name="evaluate" x="114" y="175" width="80" height="40" ruleFlowGroup="evaluate" />
+    <ruleSet id="4" name="rest" x="115" y="250" width="80" height="40" ruleFlowGroup="rest" />
+    <ruleSet id="5" name="reset calculate" x="105" y="327" width="100" height="40" ruleFlowGroup="reset calculate" />
+    <split id="6" name="Split" x="116" y="398" width="80" height="40" type="1" />
+    <ruleSet id="7" name="birth" x="41" y="483" width="80" height="40" ruleFlowGroup="birth" />
+    <ruleSet id="8" name="kill" x="195" y="482" width="80" height="40" ruleFlowGroup="kill" />
+    <join id="9" name="Join" x="114" y="572" width="80" height="40" type="1" />
+    <end id="10" name="End" x="113" y="651" width="80" height="40" />
+  </nodes>
+
+  <connections>
+    <connection from="1" to="2" />
+    <connection from="2" to="3" />
+    <connection from="3" to="4" />
+    <connection from="4" to="5" />
+    <connection from="5" to="6" />
+    <connection from="6" to="7" />
+    <connection from="6" to="8" />
+    <connection from="7" to="9" />
+    <connection from="8" to="9" />
+    <connection from="9" to="10" />
+  </connections>
+
+</process>
\ No newline at end of file

Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/generation.rfm
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/generation.rfm	2008-05-17 00:36:19 UTC (rev 19975)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/generation.rfm	2008-05-17 00:52:52 UTC (rev 19976)
@@ -1,188 +1,36 @@
-<org.drools.ruleflow.core.impl.RuleFlowProcessImpl id="1">
-  <nodes id="2">
-    <entry>
-      <long>1</long>
-      <org.drools.ruleflow.core.impl.StartNodeImpl id="3">
-        <id>1</id>
-        <name>Start</name>
-        <incomingConnections id="4"/>
-        <outgoingConnections id="5">
-          <org.drools.ruleflow.core.impl.ConnectionImpl id="6">
-            <type>1</type>
-            <from class="org.drools.ruleflow.core.impl.StartNodeImpl" reference="3"/>
-            <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="7">
-              <ruleFlowGroup>calculate</ruleFlowGroup>
-              <id>7</id>
-              <name>calculate</name>
-              <incomingConnections id="8">
-                <org.drools.ruleflow.core.impl.ConnectionImpl reference="6"/>
-              </incomingConnections>
-              <outgoingConnections id="9">
-                <org.drools.ruleflow.core.impl.ConnectionImpl id="10">
-                  <type>1</type>
-                  <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="7"/>
-                  <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="11">
-                    <ruleFlowGroup>evaluate</ruleFlowGroup>
-                    <id>2</id>
-                    <name>evaluate</name>
-                    <incomingConnections id="12">
-                      <org.drools.ruleflow.core.impl.ConnectionImpl reference="10"/>
-                    </incomingConnections>
-                    <outgoingConnections id="13">
-                      <org.drools.ruleflow.core.impl.ConnectionImpl id="14">
-                        <type>1</type>
-                        <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="11"/>
-                        <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="15">
-                          <ruleFlowGroup>rest</ruleFlowGroup>
-                          <id>3</id>
-                          <name>rest</name>
-                          <incomingConnections id="16">
-                            <org.drools.ruleflow.core.impl.ConnectionImpl reference="14"/>
-                          </incomingConnections>
-                          <outgoingConnections id="17">
-                            <org.drools.ruleflow.core.impl.ConnectionImpl id="18">
-                              <type>1</type>
-                              <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="15"/>
-                              <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="19">
-                                <ruleFlowGroup>reset calculate</ruleFlowGroup>
-                                <id>4</id>
-                                <name>reset calculate</name>
-                                <incomingConnections id="20">
-                                  <org.drools.ruleflow.core.impl.ConnectionImpl reference="18"/>
-                                </incomingConnections>
-                                <outgoingConnections id="21">
-                                  <org.drools.ruleflow.core.impl.ConnectionImpl id="22">
-                                    <type>1</type>
-                                    <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="19"/>
-                                    <to class="org.drools.ruleflow.core.impl.SplitImpl" id="23">
-                                      <type>1</type>
-                                      <constraints id="24"/>
-                                      <id>9</id>
-                                      <name>Split</name>
-                                      <incomingConnections id="25">
-                                        <org.drools.ruleflow.core.impl.ConnectionImpl reference="22"/>
-                                      </incomingConnections>
-                                      <outgoingConnections id="26">
-                                        <org.drools.ruleflow.core.impl.ConnectionImpl id="27">
-                                          <type>1</type>
-                                          <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="23"/>
-                                          <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="28">
-                                            <ruleFlowGroup>birth</ruleFlowGroup>
-                                            <id>5</id>
-                                            <name>birth</name>
-                                            <incomingConnections id="29">
-                                              <org.drools.ruleflow.core.impl.ConnectionImpl reference="27"/>
-                                            </incomingConnections>
-                                            <outgoingConnections id="30">
-                                              <org.drools.ruleflow.core.impl.ConnectionImpl id="31">
-                                                <type>1</type>
-                                                <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="28"/>
-                                                <to class="org.drools.ruleflow.core.impl.JoinImpl" id="32">
-                                                  <type>1</type>
-                                                  <id>10</id>
-                                                  <name>Join</name>
-                                                  <incomingConnections id="33">
-                                                    <org.drools.ruleflow.core.impl.ConnectionImpl reference="31"/>
-                                                    <org.drools.ruleflow.core.impl.ConnectionImpl id="34">
-                                                      <type>1</type>
-                                                      <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="35">
-                                                        <ruleFlowGroup>kill</ruleFlowGroup>
-                                                        <id>6</id>
-                                                        <name>kill</name>
-                                                        <incomingConnections id="36">
-                                                          <org.drools.ruleflow.core.impl.ConnectionImpl id="37">
-                                                            <type>1</type>
-                                                            <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="23"/>
-                                                            <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="35"/>
-                                                          </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                                        </incomingConnections>
-                                                        <outgoingConnections id="38">
-                                                          <org.drools.ruleflow.core.impl.ConnectionImpl reference="34"/>
-                                                        </outgoingConnections>
-                                                      </from>
-                                                      <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="32"/>
-                                                    </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                                  </incomingConnections>
-                                                  <outgoingConnections id="39">
-                                                    <org.drools.ruleflow.core.impl.ConnectionImpl id="40">
-                                                      <type>1</type>
-                                                      <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="32"/>
-                                                      <to class="org.drools.ruleflow.core.impl.EndNodeImpl" id="41">
-                                                        <id>11</id>
-                                                        <name>End</name>
-                                                        <incomingConnections id="42">
-                                                          <org.drools.ruleflow.core.impl.ConnectionImpl reference="40"/>
-                                                        </incomingConnections>
-                                                        <outgoingConnections id="43"/>
-                                                      </to>
-                                                    </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                                  </outgoingConnections>
-                                                </to>
-                                              </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                            </outgoingConnections>
-                                          </to>
-                                        </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                        <org.drools.ruleflow.core.impl.ConnectionImpl reference="37"/>
-                                      </outgoingConnections>
-                                    </to>
-                                  </org.drools.ruleflow.core.impl.ConnectionImpl>
-                                </outgoingConnections>
-                              </to>
-                            </org.drools.ruleflow.core.impl.ConnectionImpl>
-                          </outgoingConnections>
-                        </to>
-                      </org.drools.ruleflow.core.impl.ConnectionImpl>
-                    </outgoingConnections>
-                  </to>
-                </org.drools.ruleflow.core.impl.ConnectionImpl>
-              </outgoingConnections>
-            </to>
-          </org.drools.ruleflow.core.impl.ConnectionImpl>
-        </outgoingConnections>
-      </org.drools.ruleflow.core.impl.StartNodeImpl>
-    </entry>
-    <entry>
-      <long>2</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="11"/>
-    </entry>
-    <entry>
-      <long>3</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="15"/>
-    </entry>
-    <entry>
-      <long>4</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="19"/>
-    </entry>
-    <entry>
-      <long>5</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="28"/>
-    </entry>
-    <entry>
-      <long>6</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="35"/>
-    </entry>
-    <entry>
-      <long>7</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="7"/>
-    </entry>
-    <entry>
-      <long>9</long>
-      <org.drools.ruleflow.core.impl.SplitImpl reference="23"/>
-    </entry>
-    <entry>
-      <long>10</long>
-      <org.drools.ruleflow.core.impl.JoinImpl reference="32"/>
-    </entry>
-    <entry>
-      <long>11</long>
-      <org.drools.ruleflow.core.impl.EndNodeImpl reference="41"/>
-    </entry>
-  </nodes>
-  <variables id="44"/>
-  <lastNodeId>12</lastNodeId>
-  <id>generation</id>
-  <name>generation</name>
-  <version>1</version>
-  <type>RuleFlow</type>
-  <packageName>org.drools.examples</packageName>
-</org.drools.ruleflow.core.impl.RuleFlowProcessImpl>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?> 
+<process xmlns="http://drools.org/drools-4.0/process"
+         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+         xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+         type="RuleFlow" name="generation" id="generation" package-name="org.drools.examples" version="1" >
+
+  <header>
+  </header>
+
+  <nodes>
+    <start id="1" name="Start" />
+    <ruleSet id="2" name="calculate" ruleFlowGroup="calculate" />
+    <ruleSet id="3" name="evaluate" ruleFlowGroup="evaluate" />
+    <ruleSet id="4" name="rest" ruleFlowGroup="rest" />
+    <ruleSet id="5" name="reset calculate" ruleFlowGroup="reset calculate" />
+    <split id="6" name="Split" type="1" />
+    <ruleSet id="7" name="birth" ruleFlowGroup="birth" />
+    <ruleSet id="8" name="kill" ruleFlowGroup="kill" />
+    <join id="9" name="Join" type="1" />
+    <end id="10" name="End" />
+  </nodes>
+
+  <connections>
+    <connection from="1" to="2" />
+    <connection from="2" to="3" />
+    <connection from="3" to="4" />
+    <connection from="4" to="5" />
+    <connection from="5" to="6" />
+    <connection from="6" to="7" />
+    <connection from="6" to="8" />
+    <connection from="7" to="9" />
+    <connection from="8" to="9" />
+    <connection from="9" to="10" />
+  </connections>
+
+</process>
\ No newline at end of file

Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/killAll.rf
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/killAll.rf	2008-05-17 00:36:19 UTC (rev 19975)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/killAll.rf	2008-05-17 00:52:52 UTC (rev 19976)
@@ -1,266 +1,25 @@
-<org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper id="1" serialization="custom">
-  <org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
-    <default>
-      <elements id="2">
-        <entry>
-          <string>4-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper id="3" serialization="custom">
-            <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-              <default>
-                <constraint id="4">
-                  <x>368</x>
-                  <y>154</y>
-                  <width>80</width>
-                  <height>40</height>
-                </constraint>
-                <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="5">
-                  <ruleFlowGroup>calculate</ruleFlowGroup>
-                  <id>4</id>
-                  <name> calculate before</name>
-                  <incomingConnections id="6">
-                    <org.drools.ruleflow.core.impl.ConnectionImpl id="7">
-                      <type>1</type>
-                      <from class="org.drools.ruleflow.core.impl.StartNodeImpl" id="8">
-                        <id>1</id>
-                        <name>Start</name>
-                        <incomingConnections id="9"/>
-                        <outgoingConnections id="10">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl reference="7"/>
-                        </outgoingConnections>
-                      </from>
-                      <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="5"/>
-                    </org.drools.ruleflow.core.impl.ConnectionImpl>
-                  </incomingConnections>
-                  <outgoingConnections id="11">
-                    <org.drools.ruleflow.core.impl.ConnectionImpl id="12">
-                      <type>1</type>
-                      <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="5"/>
-                      <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="13">
-                        <ruleFlowGroup>kill all</ruleFlowGroup>
-                        <id>6</id>
-                        <name>kill all</name>
-                        <incomingConnections id="14">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl reference="12"/>
-                        </incomingConnections>
-                        <outgoingConnections id="15">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl id="16">
-                            <type>1</type>
-                            <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="13"/>
-                            <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="17">
-                              <ruleFlowGroup>calculate</ruleFlowGroup>
-                              <id>7</id>
-                              <name>calculate after</name>
-                              <incomingConnections id="18">
-                                <org.drools.ruleflow.core.impl.ConnectionImpl reference="16"/>
-                              </incomingConnections>
-                              <outgoingConnections id="19">
-                                <org.drools.ruleflow.core.impl.ConnectionImpl id="20">
-                                  <type>1</type>
-                                  <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="17"/>
-                                  <to class="org.drools.ruleflow.core.impl.EndNodeImpl" id="21">
-                                    <id>11</id>
-                                    <name>End</name>
-                                    <incomingConnections id="22">
-                                      <org.drools.ruleflow.core.impl.ConnectionImpl reference="20"/>
-                                    </incomingConnections>
-                                    <outgoingConnections id="23"/>
-                                  </to>
-                                </org.drools.ruleflow.core.impl.ConnectionImpl>
-                              </outgoingConnections>
-                            </to>
-                          </org.drools.ruleflow.core.impl.ConnectionImpl>
-                        </outgoingConnections>
-                      </to>
-                    </org.drools.ruleflow.core.impl.ConnectionImpl>
-                  </outgoingConnections>
-                </element>
-                <incomingConnections id="24">
-                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="25" serialization="custom">
-                    <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                      <default>
-                        <type>1</type>
-                        <bendpoints id="26"/>
-                        <source class="org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper" id="27" serialization="custom">
-                          <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                            <default>
-                              <constraint id="28">
-                                <x>368</x>
-                                <y>73</y>
-                                <width>80</width>
-                                <height>40</height>
-                              </constraint>
-                              <element class="org.drools.ruleflow.core.impl.StartNodeImpl" reference="8"/>
-                              <incomingConnections id="29"/>
-                              <outgoingConnections id="30">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="25"/>
-                              </outgoingConnections>
-                            </default>
-                          </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                        </source>
-                        <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="3"/>
-                      </default>
-                    </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                    <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                      <default>
-                        <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="7"/>
-                      </default>
-                    </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                </incomingConnections>
-                <outgoingConnections id="31">
-                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="32" serialization="custom">
-                    <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                      <default>
-                        <type>1</type>
-                        <bendpoints id="33"/>
-                        <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="3"/>
-                        <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="34" serialization="custom">
-                          <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                            <default>
-                              <constraint id="35">
-                                <x>368</x>
-                                <y>223</y>
-                                <width>80</width>
-                                <height>40</height>
-                              </constraint>
-                              <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="13"/>
-                              <incomingConnections id="36">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="32"/>
-                              </incomingConnections>
-                              <outgoingConnections id="37">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="38" serialization="custom">
-                                  <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                    <default>
-                                      <type>1</type>
-                                      <bendpoints id="39"/>
-                                      <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="34"/>
-                                      <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="40" serialization="custom">
-                                        <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                          <default>
-                                            <constraint id="41">
-                                              <x>368</x>
-                                              <y>298</y>
-                                              <width>80</width>
-                                              <height>40</height>
-                                            </constraint>
-                                            <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="17"/>
-                                            <incomingConnections id="42">
-                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="38"/>
-                                            </incomingConnections>
-                                            <outgoingConnections id="43">
-                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="44" serialization="custom">
-                                                <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                  <default>
-                                                    <type>1</type>
-                                                    <bendpoints id="45"/>
-                                                    <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="40"/>
-                                                    <target class="org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper" id="46" serialization="custom">
-                                                      <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                        <default>
-                                                          <constraint id="47">
-                                                            <x>368</x>
-                                                            <y>383</y>
-                                                            <width>80</width>
-                                                            <height>40</height>
-                                                          </constraint>
-                                                          <element class="org.drools.ruleflow.core.impl.EndNodeImpl" reference="21"/>
-                                                          <incomingConnections id="48">
-                                                            <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="44"/>
-                                                          </incomingConnections>
-                                                          <outgoingConnections id="49"/>
-                                                          <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                                                        </default>
-                                                      </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                                    </target>
-                                                  </default>
-                                                </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                                  <default>
-                                                    <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="20"/>
-                                                  </default>
-                                                </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                              </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                            </outgoingConnections>
-                                            <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                                          </default>
-                                        </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                      </target>
-                                    </default>
-                                  </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                    <default>
-                                      <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="16"/>
-                                    </default>
-                                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                              </outgoingConnections>
-                              <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                            </default>
-                          </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                        </target>
-                      </default>
-                    </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                    <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                      <default>
-                        <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="12"/>
-                      </default>
-                    </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                </outgoingConnections>
-                <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-              </default>
-            </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-          </org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper>
-        </entry>
-        <entry>
-          <string>7-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="40"/>
-        </entry>
-        <entry>
-          <string>11-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper reference="46"/>
-        </entry>
-        <entry>
-          <string>1-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper reference="27"/>
-        </entry>
-        <entry>
-          <string>6-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="34"/>
-        </entry>
-      </elements>
-      <process class="org.drools.ruleflow.core.impl.RuleFlowProcessImpl" id="50">
-        <nodes id="51">
-          <entry>
-            <long>1</long>
-            <org.drools.ruleflow.core.impl.StartNodeImpl reference="8"/>
-          </entry>
-          <entry>
-            <long>4</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="5"/>
-          </entry>
-          <entry>
-            <long>6</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="13"/>
-          </entry>
-          <entry>
-            <long>7</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="17"/>
-          </entry>
-          <entry>
-            <long>11</long>
-            <org.drools.ruleflow.core.impl.EndNodeImpl reference="21"/>
-          </entry>
-        </nodes>
-        <variables id="52"/>
-        <lastNodeId>11</lastNodeId>
-        <id>kill all</id>
-        <name>kill all</name>
-        <version>1</version>
-        <type>RuleFlow</type>
-        <packageName>org.drools.examples</packageName>
-      </process>
-      <routerLayout>2</routerLayout>
-    </default>
-  </org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
-</org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?> 
+<process xmlns="http://drools.org/drools-4.0/process"
+         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+         xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+         type="RuleFlow" name="kill all" id="kill all" package-name="org.drools.examples" version="1" >
+
+  <header>
+  </header>
+
+  <nodes>
+    <start id="1" name="Start" x="33" y="99" width="80" height="40" />
+    <ruleSet id="2" name="calculate before" x="136" y="99" width="110" height="40" ruleFlowGroup="calculate" />
+    <ruleSet id="3" name="kill all" x="264" y="98" width="80" height="40" ruleFlowGroup="kill all" />
+    <ruleSet id="4" name="calculate after" x="363" y="96" width="99" height="40" ruleFlowGroup="calculate" />
+    <end id="5" name="End" x="477" y="96" width="80" height="40" />
+  </nodes>
+
+  <connections>
+    <connection from="1" to="2" />
+    <connection from="2" to="3" />
+    <connection from="3" to="4" />
+    <connection from="4" to="5" />
+  </connections>
+
+</process>
\ No newline at end of file

Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/killAll.rfm
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/killAll.rfm	2008-05-17 00:36:19 UTC (rev 19975)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/killAll.rfm	2008-05-17 00:52:52 UTC (rev 19976)
@@ -1,91 +1,25 @@
-<org.drools.ruleflow.core.impl.RuleFlowProcessImpl id="1">
-  <nodes id="2">
-    <entry>
-      <long>1</long>
-      <org.drools.ruleflow.core.impl.StartNodeImpl id="3">
-        <id>1</id>
-        <name>Start</name>
-        <incomingConnections id="4"/>
-        <outgoingConnections id="5">
-          <org.drools.ruleflow.core.impl.ConnectionImpl id="6">
-            <type>1</type>
-            <from class="org.drools.ruleflow.core.impl.StartNodeImpl" reference="3"/>
-            <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="7">
-              <ruleFlowGroup>calculate</ruleFlowGroup>
-              <id>4</id>
-              <name> calculate before</name>
-              <incomingConnections id="8">
-                <org.drools.ruleflow.core.impl.ConnectionImpl reference="6"/>
-              </incomingConnections>
-              <outgoingConnections id="9">
-                <org.drools.ruleflow.core.impl.ConnectionImpl id="10">
-                  <type>1</type>
-                  <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="7"/>
-                  <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="11">
-                    <ruleFlowGroup>kill all</ruleFlowGroup>
-                    <id>6</id>
-                    <name>kill all</name>
-                    <incomingConnections id="12">
-                      <org.drools.ruleflow.core.impl.ConnectionImpl reference="10"/>
-                    </incomingConnections>
-                    <outgoingConnections id="13">
-                      <org.drools.ruleflow.core.impl.ConnectionImpl id="14">
-                        <type>1</type>
-                        <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="11"/>
-                        <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="15">
-                          <ruleFlowGroup>calculate</ruleFlowGroup>
-                          <id>7</id>
-                          <name>calculate after</name>
-                          <incomingConnections id="16">
-                            <org.drools.ruleflow.core.impl.ConnectionImpl reference="14"/>
-                          </incomingConnections>
-                          <outgoingConnections id="17">
-                            <org.drools.ruleflow.core.impl.ConnectionImpl id="18">
-                              <type>1</type>
-                              <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="15"/>
-                              <to class="org.drools.ruleflow.core.impl.EndNodeImpl" id="19">
-                                <id>11</id>
-                                <name>End</name>
-                                <incomingConnections id="20">
-                                  <org.drools.ruleflow.core.impl.ConnectionImpl reference="18"/>
-                                </incomingConnections>
-                                <outgoingConnections id="21"/>
-                              </to>
-                            </org.drools.ruleflow.core.impl.ConnectionImpl>
-                          </outgoingConnections>
-                        </to>
-                      </org.drools.ruleflow.core.impl.ConnectionImpl>
-                    </outgoingConnections>
-                  </to>
-                </org.drools.ruleflow.core.impl.ConnectionImpl>
-              </outgoingConnections>
-            </to>
-          </org.drools.ruleflow.core.impl.ConnectionImpl>
-        </outgoingConnections>
-      </org.drools.ruleflow.core.impl.StartNodeImpl>
-    </entry>
-    <entry>
-      <long>4</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="7"/>
-    </entry>
-    <entry>
-      <long>6</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="11"/>
-    </entry>
-    <entry>
-      <long>7</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="15"/>
-    </entry>
-    <entry>
-      <long>11</long>
-      <org.drools.ruleflow.core.impl.EndNodeImpl reference="19"/>
-    </entry>
-  </nodes>
-  <variables id="22"/>
-  <lastNodeId>11</lastNodeId>
-  <id>kill all</id>
-  <name>kill all</name>
-  <version>1</version>
-  <type>RuleFlow</type>
-  <packageName>org.drools.examples</packageName>
-</org.drools.ruleflow.core.impl.RuleFlowProcessImpl>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?> 
+<process xmlns="http://drools.org/drools-4.0/process"
+         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+         xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+         type="RuleFlow" name="kill all" id="kill all" package-name="org.drools.examples" version="1" >
+
+  <header>
+  </header>
+
+  <nodes>
+    <start id="1" name="Start" />
+    <ruleSet id="2" name="calculate before" ruleFlowGroup="calculate" />
+    <ruleSet id="3" name="kill all" ruleFlowGroup="kill all" />
+    <ruleSet id="4" name="calculate after" ruleFlowGroup="calculate" />
+    <end id="5" name="End" />
+  </nodes>
+
+  <connections>
+    <connection from="1" to="2" />
+    <connection from="2" to="3" />
+    <connection from="3" to="4" />
+    <connection from="4" to="5" />
+  </connections>
+
+</process>
\ No newline at end of file

Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/registerNeighbor.rf
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/registerNeighbor.rf	2008-05-17 00:36:19 UTC (rev 19975)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/registerNeighbor.rf	2008-05-17 00:52:52 UTC (rev 19976)
@@ -1,155 +1,21 @@
-<org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper id="1" serialization="custom">
-  <org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
-    <default>
-      <elements id="2">
-        <entry>
-          <string>3-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper id="3" serialization="custom">
-            <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-              <default>
-                <constraint id="4">
-                  <x>316</x>
-                  <y>222</y>
-                  <width>80</width>
-                  <height>40</height>
-                </constraint>
-                <element class="org.drools.ruleflow.core.impl.EndNodeImpl" id="5">
-                  <id>3</id>
-                  <name>End</name>
-                  <incomingConnections id="6">
-                    <org.drools.ruleflow.core.impl.ConnectionImpl id="7">
-                      <type>1</type>
-                      <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="8">
-                        <ruleFlowGroup>register neighbor</ruleFlowGroup>
-                        <id>2</id>
-                        <name>register neighbor</name>
-                        <incomingConnections id="9">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl id="10">
-                            <type>1</type>
-                            <from class="org.drools.ruleflow.core.impl.StartNodeImpl" id="11">
-                              <id>1</id>
-                              <name>Start</name>
-                              <incomingConnections id="12"/>
-                              <outgoingConnections id="13">
-                                <org.drools.ruleflow.core.impl.ConnectionImpl reference="10"/>
-                              </outgoingConnections>
-                            </from>
-                            <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="8"/>
-                          </org.drools.ruleflow.core.impl.ConnectionImpl>
-                        </incomingConnections>
-                        <outgoingConnections id="14">
-                          <org.drools.ruleflow.core.impl.ConnectionImpl reference="7"/>
-                        </outgoingConnections>
-                      </from>
-                      <to class="org.drools.ruleflow.core.impl.EndNodeImpl" reference="5"/>
-                    </org.drools.ruleflow.core.impl.ConnectionImpl>
-                  </incomingConnections>
-                  <outgoingConnections id="15"/>
-                </element>
-                <incomingConnections id="16">
-                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="17" serialization="custom">
-                    <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                      <default>
-                        <type>1</type>
-                        <bendpoints id="18"/>
-                        <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="19" serialization="custom">
-                          <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                            <default>
-                              <constraint id="20">
-                                <x>307</x>
-                                <y>128</y>
-                                <width>99</width>
-                                <height>40</height>
-                              </constraint>
-                              <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="8"/>
-                              <incomingConnections id="21">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="22" serialization="custom">
-                                  <org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                    <default>
-                                      <type>1</type>
-                                      <bendpoints id="23"/>
-                                      <source class="org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper" id="24" serialization="custom">
-                                        <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                          <default>
-                                            <constraint id="25">
-                                              <x>316</x>
-                                              <y>33</y>
-                                              <width>80</width>
-                                              <height>40</height>
-                                            </constraint>
-                                            <element class="org.drools.ruleflow.core.impl.StartNodeImpl" reference="11"/>
-                                            <incomingConnections id="26"/>
-                                            <outgoingConnections id="27">
-                                              <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="22"/>
-                                            </outgoingConnections>
-                                          </default>
-                                        </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                                      </source>
-                                      <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="19"/>
-                                    </default>
-                                  </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                                  <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                    <default>
-                                      <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="10"/>
-                                    </default>
-                                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                                </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                              </incomingConnections>
-                              <outgoingConnections id="28">
-                                <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="17"/>
-                              </outgoingConnections>
-                              <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-                            </default>
-                          </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-                        </source>
-                        <target class="org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper" reference="3"/>
-                      </default>
-                    </org.drools.eclipse.flow.common.editor.core.ElementConnection>
-                    <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                      <default>
-                        <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="7"/>
-                      </default>
-                    </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                  </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
-                </incomingConnections>
-                <outgoingConnections id="29"/>
-                <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
-              </default>
-            </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
-          </org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper>
-        </entry>
-        <entry>
-          <string>2-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="19"/>
-        </entry>
-        <entry>
-          <string>1-Wrapper</string>
-          <org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper reference="24"/>
-        </entry>
-      </elements>
-      <process class="org.drools.ruleflow.core.impl.RuleFlowProcessImpl" id="30">
-        <nodes id="31">
-          <entry>
-            <long>1</long>
-            <org.drools.ruleflow.core.impl.StartNodeImpl reference="11"/>
-          </entry>
-          <entry>
-            <long>2</long>
-            <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="8"/>
-          </entry>
-          <entry>
-            <long>3</long>
-            <org.drools.ruleflow.core.impl.EndNodeImpl reference="5"/>
-          </entry>
-        </nodes>
-        <variables id="32"/>
-        <lastNodeId>3</lastNodeId>
-        <id>register neighbor</id>
-        <name>register neighbor</name>
-        <type>RuleFlow</type>
-        <packageName>org.drools.examples</packageName>
-      </process>
-      <routerLayout>2</routerLayout>
-    </default>
-  </org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
-</org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?> 
+<process xmlns="http://drools.org/drools-4.0/process"
+         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+         xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+         type="RuleFlow" name="register neighbor" id="register neighbor" package-name="org.drools.examples" version="1" >
+
+  <header>
+  </header>
+
+  <nodes>
+    <start id="1" name="Start" x="100" y="100" />
+    <ruleSet id="2" name="register neighbor" x="202" y="99" width="122" height="40" ruleFlowGroup="register neighbor" />
+    <end id="3" name="End" x="347" y="98" width="80" height="40" />
+  </nodes>
+
+  <connections>
+    <connection from="1" to="2" />
+    <connection from="2" to="3" />
+  </connections>
+
+</process>
\ No newline at end of file

Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/registerNeighbor.rfm
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/registerNeighbor.rfm	2008-05-17 00:36:19 UTC (rev 19975)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/conway/registerNeighbor.rfm	2008-05-17 00:52:52 UTC (rev 19976)
@@ -1,54 +1,21 @@
-<org.drools.ruleflow.core.impl.RuleFlowProcessImpl id="1">
-  <nodes id="2">
-    <entry>
-      <long>1</long>
-      <org.drools.ruleflow.core.impl.StartNodeImpl id="3">
-        <id>1</id>
-        <name>Start</name>
-        <incomingConnections id="4"/>
-        <outgoingConnections id="5">
-          <org.drools.ruleflow.core.impl.ConnectionImpl id="6">
-            <type>1</type>
-            <from class="org.drools.ruleflow.core.impl.StartNodeImpl" reference="3"/>
-            <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="7">
-              <ruleFlowGroup>register neighbor</ruleFlowGroup>
-              <id>2</id>
-              <name>register neighbor</name>
-              <incomingConnections id="8">
-                <org.drools.ruleflow.core.impl.ConnectionImpl reference="6"/>
-              </incomingConnections>
-              <outgoingConnections id="9">
-                <org.drools.ruleflow.core.impl.ConnectionImpl id="10">
-                  <type>1</type>
-                  <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="7"/>
-                  <to class="org.drools.ruleflow.core.impl.EndNodeImpl" id="11">
-                    <id>3</id>
-                    <name>End</name>
-                    <incomingConnections id="12">
-                      <org.drools.ruleflow.core.impl.ConnectionImpl reference="10"/>
-                    </incomingConnections>
-                    <outgoingConnections id="13"/>
-                  </to>
-                </org.drools.ruleflow.core.impl.ConnectionImpl>
-              </outgoingConnections>
-            </to>
-          </org.drools.ruleflow.core.impl.ConnectionImpl>
-        </outgoingConnections>
-      </org.drools.ruleflow.core.impl.StartNodeImpl>
-    </entry>
-    <entry>
-      <long>2</long>
-      <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="7"/>
-    </entry>
-    <entry>
-      <long>3</long>
-      <org.drools.ruleflow.core.impl.EndNodeImpl reference="11"/>
-    </entry>
-  </nodes>
-  <variables id="14"/>
-  <lastNodeId>3</lastNodeId>
-  <id>register neighbor</id>
-  <name>register neighbor</name>
-  <type>RuleFlow</type>
-  <packageName>org.drools.examples</packageName>
-</org.drools.ruleflow.core.impl.RuleFlowProcessImpl>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?> 
+<process xmlns="http://drools.org/drools-4.0/process"
+         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+         xs:schemaLocation="http://drools.org/drools-4.0/process drools-processes-4.0.xsd"
+         type="RuleFlow" name="register neighbor" id="register neighbor" package-name="org.drools.examples" version="1" >
+
+  <header>
+  </header>
+
+  <nodes>
+    <start id="1" name="Start" />
+    <ruleSet id="2" name="register neighbor" ruleFlowGroup="register neighbor" />
+    <end id="3" name="End" />
+  </nodes>
+
+  <connections>
+    <connection from="1" to="2" />
+    <connection from="2" to="3" />
+  </connections>
+
+</process>
\ No newline at end of file




More information about the jboss-svn-commits mailing list