Judges shall not charge juries with regard to matters of fact, but shall declare the law; and, in jury trials, shall reduce their charge or instructions to writing, on the request of either party.