Update to new rule syntax
Merge pull request #666 from krysros/master

Update to new rule syntax