Rupee gains nine paisa against dollar