Added configurable rules.