refactor, bugfix: tree display only updates children, add: remaining tree rules