fixed genTreatmentRules2