rare earth minerals and metals processing r