Yorkshire have signed New Zealand international Will O'Rourke after the seamer had a push in the right direction from Kane Williamson.