* </AND>
*/
Rule rule = RuleModelFactory.eINSTANCE.createRule();
LogicCondition lc1 = RuleModelFactory.eINSTANCE.createLogicCondition();
LogicCondition lc2 = RuleModelFactory.eINSTANCE.createLogicCondition();
BaseCondition bc1 = RuleModelFactory.eINSTANCE.createBaseCondition();
BaseCondition bc2 = RuleModelFactory.eINSTANCE.createBaseCondition();
BaseCondition bc3 = RuleModelFactory.eINSTANCE.createBaseCondition();
BaseCondition bc4 = RuleModelFactory.eINSTANCE.createBaseCondition();
List<BaseCondition> conditions = new ArrayList<BaseCondition>();
conditions.add(bc1);
conditions.add(bc2);
conditions.add(bc3);
conditions.add(bc4);
ElementDefinition e1 = RuleModelFactory.eINSTANCE.createElementDefinition();
ElementDefinition e2 = RuleModelFactory.eINSTANCE.createElementDefinition();
ElementDefinition e3 = RuleModelFactory.eINSTANCE.createElementDefinition();
rule.getElements().add(e1);
rule.getElements().add(e2);
rule.getElements().add(e3);
e1.setAlias("e1");
e2.setAlias("e2");
e3.setAlias("e3");
rule.setConditions(lc1);
lc1.setType(LogicConditionType.AND);
lc2.setType(LogicConditionType.OR);
lc1.getBaseConditions().add(bc1);
lc1.getBaseConditions().add(bc2);
lc2.getBaseConditions().add(bc3);
lc2.getBaseConditions().add(bc4);
lc1.getLogicConditions().add(lc2);
bc1.setSource("e1");
bc1.setTarget("e2");