interpret *.rule file