Rafsanjani based his campaign on opening up in the FR sphere, but my guess is, not on the home front, whereas a reformist would want to do both, and Khomeinis grandson would rather do neither.
He didn't even run as a moderate he ran as a total reformist promosing to better ties with the U.S., more social freedoms, broader democracy, privization of economy, etc.