South Korea has moved quickly to set rules on trading cryptocurrencies.