The relation in which rules of art stand to doctrines of science may be thus characterized. The art proposes to itself an end to be attained, defines the end, and hands it over to the science. The science receives it, considers it as a phenomenon or effect to be studied, and having investigated its causes and conditions, sends it back to art with a theorem of the combination of circumstances by which it could be produced. Art then examines these combinations of circumstances, and according as any of them are or are not in human power, pronounces the end attainable or not. The only one of the premises, therefore, which Art supplies, is the original major premise, which asserts that the attainment of the given end is desirable. Science then lends to Art the proposition (obtained by a series of inductions or of deductions) that the performance of certain actions will attain the end. From these premises Art concludes that the performance of these actions is desirable, and finding it also practicable, converts the theorem into a rule or precept.
John Stuart Mill, A System of Logic Book VI, Chapter XII. 'Art' here means the systematic activity of practical reason. It's interesting that he thinks of the relationship syllogistically.