Following an initial downward trend, the Indian benchmark indices, the BSE Sensex and NSE Nifty50, rallied on Wednesday.