Rule PairLoop input '1' output '2' Flow rule PairB rule PairA End Rule PairB input '2' output '1' End Rule PairA input '1' output '2' End