Add new methods in AssociationRule
Add new methods in AssociationRule

Factorizing some code related with processing the association rules
into the AssociationRule class. Specifically, methods to check that
a rule can be applied at a configuration state and update the state
with the values suggested by the rule.

yasserglez/configurator,yasserglez/configurator