RuleSet ruleSet = new RuleSet( "Hello World Example" );
ruleSet.addRule( helloRule );
ruleSet.addRule( goodbyeRule );
ruleSet.addRule( debugRule );
HelloWorldBuilder builder = new HelloWorldBuilder( ruleSet );
RuleBase ruleBase = builder.buildRuleBase( );
System.out.println( "DUMP RETE" );
System.out.println( "---------" );
ReteDumper dumper = new ReteDumper( ruleBase );
dumper.dumpRete( System.out );