Japan gets tough on rare earths