Revert "modified one of the rewrite rules"

This reverts commit a23c846da6363e3c94be96a3a43883f46bc55a24.