1. A computer implemented method for inserting rules-driven paragraphs into user-designated locations in a document after structural revisions, the method comprising: receiving a set of document construction rules; generating a candidate document at least by instantiating, at a computer aided module stored in computer memory, the candidate document as an instance of a document template and further by positioning a plurality of document components at respective locations in the instance of the document template prior to application of the set of document construction rules that evaluates whether one or more conditions are to be fulfilled, the document template comprising the plurality of document components, and at least one of the plurality of document components being a conditional document component associated with at least one document construction rule of the set of document construction rules; forming, by a computer, a document graph for the candidate document based at least in part on the document template, the document graph having a plurality of nodes that represent the plurality of document components and comprise respective document component labels and visibility flags; applying at least some of the set of document construction rules to the candidate document at least by traversing and annotating the document graph after the candidate document and the document graph are generated; forming a mapping data structure, separate from the document graph, and mapping from the respective document component labels to the respective locations of the plurality of nodes within the document graph with the mapping data structure; and generating a final document from the candidate document at least by rendering the conditional document component in the plurality of document components visible when a first visibility flag of the first conditional document is set to visible and rendering the conditional document component invisible when the first visibility flag of the first conditional document is set to invisible.
1. A computer implemented method for inserting rules-driven paragraphs into user-designated locations in a document after structural revisions, the method comprising: receiving a set of document construction rules; generating a candidate document at least by instantiating, at a computer aided module stored in computer memory, the candidate document as an instance of a document template and further by positioning a plurality of document components at respective locations in the instance of the document template prior to application of the set of document construction rules that evaluates whether one or more conditions are to be fulfilled, the document template comprising the plurality of document components, and at least one of the plurality of document components being a conditional document component associated with at least one document construction rule of the set of document construction rules; forming, by a computer, a document graph for the candidate document based at least in part on the document template, the document graph having a plurality of nodes that represent the plurality of document components and comprise respective document component labels and visibility flags; applying at least some of the set of document construction rules to the candidate document at least by traversing and annotating the document graph after the candidate document and the document graph are generated; forming a mapping data structure, separate from the document graph, and mapping from the respective document component labels to the respective locations of the plurality of nodes within the document graph with the mapping data structure; and generating a final document from the candidate document at least by rendering the conditional document component in the plurality of document components visible when a first visibility flag of the first conditional document is set to visible and rendering the conditional document component invisible when the first visibility flag of the first conditional document is set to invisible. 2. The method of claim 1 , further comprising: evaluating a document construction rule; using a set of rule-to-paragraph entries to determine applicable document components; and using the mapping data structure to determine the location of the applicable document components within the document graph, then modifying the values of the respective visibility flags.