tosulliv: updates for treatment rule engine