carbon.conf specifies whether to use custom rule
Fixed variable names
Merge pull request #6 from phufool/master

carbon.conf specifies what aggregation method to use