rules for build in windows