automatically resolving at least one inconsistency, conflict, violation of the replenishment rules, violation of the validation rules, and violation of the policies through execution of a series of instructions expressed in the language to manipulate the supply chain data to produce at least one acceptable replacement value, wherein the language is a XML-based language having an adaptive, modular