Theory of 3dCore Photoemission Spectra in Rare Earth Oxides Series