Fix to prevent unnecessary rebuild of pyke rules.
Merge pull request #564 from esc24/rulesgeneration_fix

Fix to prevent unnecessary rebuild of pyke rules.