//---
// Aggregation (or accumulation) method
//---
RuleAggregationMethod ruleAggregationMethod;
if( ruleAggregationMethodType.equalsIgnoreCase("MAX") ) ruleAggregationMethod = new RuleAggregationMethodMax();
else if( ruleAggregationMethodType.equalsIgnoreCase("BSUM") ) ruleAggregationMethod = new RuleAggregationMethodBoundedSum();
else if( ruleAggregationMethodType.equalsIgnoreCase("NSUM") ) ruleAggregationMethod = new RuleAggregationMethoNormedSum();
else if( ruleAggregationMethodType.equalsIgnoreCase("PROBOR") ) ruleAggregationMethod = new RuleAggregationMethodProbOr();
else if( ruleAggregationMethodType.equalsIgnoreCase("SUM") ) ruleAggregationMethod = new RuleAggregationMethodSum();
else throw new RuntimeException("Unknown/Unimplemented Rule aggregation method '" + ruleAggregationMethodType + "'");