The relationship between perturbation theory and direct calculations of rare earth transition intensities