Agreement points to the role Tehran is expected to play in the reconstruction of war-torn Syria.