Added separate commands for firewalls rules depending on Windows version.