Added rewriting of iris in datasets with one graph but multiple base
patterns. Maybe refactor later to allow datasets to have multiple base
patterns in the first place