Add some simple rewriting rules