Fix rule name gets flipped issue #5
Merge pull request #6 from MohammadYounes/master

Fix rule name gets flipped issue #5