Aggregations inside ruleengine