//
// Normally, the configuration file is named DTRules.xml. But
// this is just a convention, and its name is supplied when creating
// the Rules Directory.
RulesDirectory rd = new RulesDirectory(
path+"repository/",
"DTRules.xml");
// The RuleSet is built by loading the XML for the project. This is
// done only once, and the results cached by the RulesDirectory.
RuleSet rs = rd.getRuleSet("SampleProject2");
// A Session creates an instance of a Rules Set. The Rules Engine is
// factored so that all the Rules Engine State is built off of the
// DTState object in the Session. The Rules Engine is Thread safe,
// so multiple threads can have sessions that run against the same