added 'checkrules' script