Revert "The rewrite rule is unnecessary"

This reverts commit 2691cf48a808ee1ad362c1012af0d18e1fff423e.