[GHC] #15490: Can Template Haskell and RULES be combined?