New Zealand hopes new rules to allow visitors to work remotely will make the country a more attractive destination for "digital nomads".