1. A computer-implemented method comprising: determining a model; determining one or more components of the model; determining a rule from a set of one or more predefined rules, the rule having one or more parameters matching the one or more components of the model; and assigning the rule to the model.