Carbon: allow storage aggregation rules to be specified as class parameters

Change-Id: Ia34fa8bb977eec95e1732d5a9f53d6ef75dd1b5e