Cherry picked 1928191 from 0.9.x into master - Adds configurable rewrite, relay, aggregation rule files