added processing of rule files