[GHC] #9137: A way to match RULES only for literals