adding aggregation rules config