Medium modifications of the rho meson in nuclear photoproduction