reverted erronous QR rewrite rules