/* start a session which creates interpreted rule objects */
final Session session =
Session_Factory.getFactory().newInstance(
new RecalculationsProhibited(),
new InMemoryDataStorage(
new InterpretedRuleObjectFactory()));
These lines create a new CER Session for the rule set.
A session manages the rule objects created for the classes in the rule set. In this example, we are using a session which creates fully-dynamic rule objects (by using InterpretedRuleObjectFactory); as we will see below, in an interpreted session, each reference to a rule class or attribute name is via an API call taking that names as a String parameter.