public Set solve() throws EquationSolveException {
rules = new RuleMachine(this);
rules.addRule(new SeparateRadicals());
rules.addRule(new Square());
rules.addRule(new DistributiveLaw());
rules.addRule(new ToLinearEquation());
rules.addRule(new ToQuadraticEquation());
Set result = rules.execute();