Principles of Automated Drafting