He replaced a huge if&#x2F;else with a rule engine.<p>The idea is sound since that&#x27;s exactly what rule engines are for but I feel that if you don&#x27;t also post the final listing of the rules you end up with, you haven&#x27;t really made the case that you improved the code.