Hierarchy of Theories with Indefinite Causal Structure