add rule file