"Rahane is currently the most complete Test batsman in the country. He is brilliant both in attacking and defending. He has done well everywhere, in all the conditions whereas Virat Kohli struggled in England," Gavaskar told NDTV.
Rahane today achieved the rare distinction of scoring a century in each Test innings on the fourth day of the final Test. He scored a 127 in India's first innings before hitting 100 in the second innings today.
Gavaskar felt sorry for captain Kohli for missing out on a hundred as he was out for 88 today, adding just five runs to his overnight 83.
"I feel sorry for Virat that he could not score a century at his home ground which would have been memorable. He should have got a hundred yesterday. It is not easy for anybody to start again after a break and in his case it was an overnight break," said the former India captain.
More From This Section
"They South Africans) were doing what their team needed. It might not be attractive for the spectators who would want a lot of fours and sixes but this (slow batting) is what the South African team needed.
"It's all the more admirable for A B de Villiers who is such an explosive batsman to curb his aggression. But he was doing what his team needed," Gavaskar said.
With India unlikely to lose the final Test from the strong position they are currently in, Gavaskar said beating South Africa in the series with a 2-0 or 3-0 margin was a terrific achievement for the team.