RuleModel m = new RuleModel();
m.name = "with composite";
m.lhs = new IPattern[ 1 ];
m.rhs = new IAction[ 1 ];
FreeFormLine fl = new FreeFormLine();
fl.setText( "Person()" );
m.lhs[ 0 ] = fl;
FreeFormLine fr = new FreeFormLine();
fr.setText( "fun()" );
m.rhs[ 0 ] = fr;
String xml = BRXMLPersistence.getInstance().marshal( m );
assertNotNull( xml );