Text this: Analysis of the energy spectra of ground states of deformed nuclei in the rare-earth region