China justifies rare-earth policies