Fix rule windows 8