Save criteria tree

Completes saving of model