model and rule file