Don't Transform the Code, Code the Transforms: Towards Precise Code Rewriting using LLMs