1. A computer program product to validate a plurality of electronic data interchange (EDI) documents, where each EDI document is associated with at least one of a plurality of entities, comprising: a computer readable storage medium having computer usable program code embodied therewith, the computer usable program code comprising: computer usable program code configured to implement creation of an inventory of all rules, the inventory including a common set of rules for the plurality of entities; computer usable program code configured to facilitate dynamic adjustment of the inventory of all rules based upon entity specific rules where the entity specific rules are derived from a plurality of companion guides, each companion guide associated with one of the plurality of entities; computer usable program code configured to facilitate determination of a profile for each of the plurality of entities where each profile indicates that entity's companion guide rules and provides pointers to select rules in the inventory of all rules that are associated with the current rule set of that entity; computer usable program code configured to store the profile for each companion guide in a storage; computer usable program code configured to check received EDI documents for validation, each checked EDI document associated with a corresponding entity, comprising: computer usable program code configured implement a runtime checker to check the storage for a current rule set based upon the profile for the corresponding entity, where the current rule set comprises rules from the inventory of rules required by the companion guide associated with the corresponding entity; computer usable program code configured to compare the received EDI document with the associated current rule set retrieved from storage; computer usable program code configured to forward the received EDI document to an associated destination entity if the received EDI document matches the associated current rule set, wherein the received EDI document is validated; and computer usable program code configured to return the received EDI document to the sender if the received EDI document does not match the associated current rule set, wherein the received EDI document is invalidated; and computer usable program code configured to receive documents, each document associated with one of the plurality of entities, wherein the computer usable program code configured to check received EDI documents is utilized for validation of each received document.
1. A computer program product to validate a plurality of electronic data interchange (EDI) documents, where each EDI document is associated with at least one of a plurality of entities, comprising: a computer readable storage medium having computer usable program code embodied therewith, the computer usable program code comprising: computer usable program code configured to implement creation of an inventory of all rules, the inventory including a common set of rules for the plurality of entities; computer usable program code configured to facilitate dynamic adjustment of the inventory of all rules based upon entity specific rules where the entity specific rules are derived from a plurality of companion guides, each companion guide associated with one of the plurality of entities; computer usable program code configured to facilitate determination of a profile for each of the plurality of entities where each profile indicates that entity's companion guide rules and provides pointers to select rules in the inventory of all rules that are associated with the current rule set of that entity; computer usable program code configured to store the profile for each companion guide in a storage; computer usable program code configured to check received EDI documents for validation, each checked EDI document associated with a corresponding entity, comprising: computer usable program code configured implement a runtime checker to check the storage for a current rule set based upon the profile for the corresponding entity, where the current rule set comprises rules from the inventory of rules required by the companion guide associated with the corresponding entity; computer usable program code configured to compare the received EDI document with the associated current rule set retrieved from storage; computer usable program code configured to forward the received EDI document to an associated destination entity if the received EDI document matches the associated current rule set, wherein the received EDI document is validated; and computer usable program code configured to return the received EDI document to the sender if the received EDI document does not match the associated current rule set, wherein the received EDI document is invalidated; and computer usable program code configured to receive documents, each document associated with one of the plurality of entities, wherein the computer usable program code configured to check received EDI documents is utilized for validation of each received document. 2. The computer program product according to claim 1 , further comprising: computer usable program code configured to classify the rules by determining for each rule: whether the rule is common with at least one other rule, or whether the rule is similar to at least one other rule, or whether the rule is unique; and computer usable program code configured to convey the results of classifying the rules having computer usable program code configured to store the set of rules in the storage according to the classification of each rule as common, similar, or unique, thus decreasing the amount of rules actually stored to facilitate rules checking.