private void addInitialFactPattern ( final GroupElement subrule ) { // creates a pattern for initial fact final Pattern pattern = new Pattern ( 0 , ClassObjectType . InitialFact_ObjectType ) ; // adds the pattern as the first child of the given AND group element subrule . addChild ( 0 , pattern ) ; }
Adds a query pattern to the given subrule