public Expression apply() {
ANumber two = Naturals.getInstance().create(2);
Equality eq = (Equality) target;
return new Equality(new Exponentiation(eq.lhs(), two),
new Exponentiation(eq.rhs(), two));
}
}
/**
* This rule transforms the current equation into a linear equation.