code: public static Constraint inSamePathway()
  	{
  		String s1 = "Interaction/stepProcessOf/pathwayOrderOf";
  		String s2 = "Interaction/pathwayComponentOf";
  		return new OR(new MappedConst(new Field(s1, s1, Field.Operation.INTERSECT), 0, 1),
  			new MappedConst(new Field(s2, s2, Field.Operation.INTERSECT), 0, 1));
  	}
docs: Makes sure that the two interactions are members of the same pathway.
  @return non-generative constraint