Rupee gains 0.27% against US dollar