filter tree by type of act