Fixed RegEx (I think) for Rewrites.