Equivariant Maps for Hierarchical Structures