//Create rule2 with 'category 2'
rule = pkg.addAsset( "rule2",
"" );
rule.updateFormat( AssetFormats.DRL );
rule.updateContent( "rule 'foo' when Goo1() then end" );
rule.updateCategoryList(new String[]{"Category 2"});
rule.checkin( "version 1" );
//Create rule3 with 'category 1' and 'category 2'
rule = pkg.addAsset( "rule3",
"" );