Atomic energy levels - The rare-Earth elements