Context Aware Query Rewriting for Text Rankers using LLM