Rupee gains slightly against US dollar despite foreign fund outflow, weak dollar index, and selling pressure from FIIs.