rare earth metal mining conditions