rare earth process flow chart