don't use deprecated rewrite syntax

see 0ba2e99cdddea434151bdf7c34f673acf6b30665