rare-earth production