1. A computer-implemented method comprising: predefining a set of rules, each of the rules including one or more condition parameters and one or more action parameters associated with one or more attributes; after the set of rules have been predefined, determining a model; determining one or more components of the model; determining a rule from the set of predefined rules having one or more of the one or more condition parameters and the one or more action parameters matching one or more of the one or more components of the model; and assigning the rule to the model.