Energetics Of Rare Earth Solids Containing Hydroxide And Halide Ions