RuleModel m = new RuleModel();
m.name = "test expressionsNestedBoolean";
FactPattern p = new FactPattern( "Person" );
SingleFieldConstraintEBLeftSide con = new SingleFieldConstraintEBLeftSide();
con.getExpressionLeftSide().appendPart( new ExpressionUnboundFact( p ) );
con.getExpressionLeftSide().appendPart( new ExpressionField( "favouriteCheese",
"Cheese",
DataType.TYPE_OBJECT ) );
con.getExpressionLeftSide().appendPart( new ExpressionField( "smelly",
"java.lang.Boolean",
DataType.TYPE_BOOLEAN ) );
con.setOperator( "==" );
con.setValue( "true" );
con.setConstraintValueType( SingleFieldConstraint.TYPE_LITERAL );