Hassan Rowhani will be Iran's next president not only because he was picked by a majority of Iranian voters, but also because supreme leader Ayatollah Ali Khamenei chose to accept his victory.