Surface X-ray dichroism of rare-earths