How to generate a rule file template from a MIB