Implements Intercept.shape_constraint rules for segment type constraints.