Added build, test and artifact rules to appveyor.yml.