Rare earth ions as spectroscopic probes of dynamic properties of insulators