Add ability get aggregate from rules and RuleResult