m.addLhsItem( new FactPattern( "Accident" ) );
m.addAttribute( new RuleAttribute( "no-loop",
"true" ) );
m.addRhsItem( new ActionInsertFact( "Report" ) );
ActionGlobalCollectionAdd ag = new ActionGlobalCollectionAdd();
ag.setFactName( "x" );
ag.setGlobalName( "g" );
m.addRhsItem( ag );
m.name = "my rule";
final String drl = p.marshal( m );
assertTrue( drl.indexOf( "Person( )" ) > -1 );