tosulliv: update to rule engine