+ "\tthen\n\t\tinsert( new Report() );\nend\n";
final RuleModel m = new RuleModel();
final FactPattern pat = new FactPattern( "Cheese" );
m.addLhsItem( pat );
final SingleFieldConstraint con = new SingleFieldConstraint();
con.setFieldName( "type" );
con.setOperator( "==" );
con.setValue( "Cheese.CHEDDAR" );
con.setFieldType( DataType.TYPE_COMPARABLE );
con.setConstraintValueType( BaseSingleFieldConstraint.TYPE_ENUM );
pat.addConstraint( con );
m.addRhsItem( new ActionInsertFact( "Report" ) );
m.name = "my rule";