The Rayleigh ratio measurement for SNO+ liquid scintillator and background studies of the internal ropes