Integrate grunt to use rewrite rules.