Shares of Indian Oil Corp. rise as Nifty gains