Added rulecheck script