private BigDecimalConstraintMatchTotal findBigDecimalConstraintMatchTotal(RuleContext kcontext, int scoreLevel) {
Rule rule = kcontext.getRule();
String constraintPackage = rule.getPackageName();
String constraintName = rule.getName();
List<Object> key = Arrays.<Object>asList(constraintPackage, constraintName, scoreLevel);
BigDecimalConstraintMatchTotal matchTotal = (BigDecimalConstraintMatchTotal) constraintMatchTotalMap.get(key);
if (matchTotal == null) {
matchTotal = new BigDecimalConstraintMatchTotal(constraintPackage, constraintName, scoreLevel);
constraintMatchTotalMap.put(key, matchTotal);
}
return matchTotal;
}