Add rule file