Add nested style rewritter