update of rules engine