A computer program product stored on a computer readable medium containing instructions to cause a computer to automatically draft complex documents, analyses, forms, letters and other textual material; provide material for the complex documents based on an interaction among information provided by a user; and retrieve information stored in relational databases based on expert rules provided by on