Mahama cuts deal with Rawlings