Updating rule engine