}
} else if (null != this.rhs) {
if (null == this.features) {
tempType = ConstraintRule.Type.RHS;
} else {
throw new TypeCheckingException(
"Invalid ConstraintRule: Can only specify features attribute on <rhs> if there is a <lhs>");
}
}
if (null == tempType) {
throw new TypeCheckingException("Invalid ConstraintRule");
}
final ConstraintRule.Type type = tempType;
final float[] features = this.features;