final float[] features = this.features;
final String lhs = this.lhs;
final String nativeRhs = this.rhs;
final String foreignRhs = span;
return new ConstraintRule() {
public ConstraintRule.Type type() { return type; }
public String lhs() { return lhs; }
public float[] features() { return features; }
public String nativeRhs() { return nativeRhs; }
public String foreignRhs() { return foreignRhs; }