create directory for rule file