I don't think Rohani is Rafi's man. I think that if Khamenei et al wished to resolve the nuclear stand off then the best way is to get Rohani in there. They can say that this is what people wished for. Long before Qalibaf or others got in, Rohani was in the race.
Rohani in, would mean that Khamenei et al wish to resolve the nuclear issue.