clean up of rule file specs