by the book
Strictly according to the rules, as in Our trip leader is going by the book, allowing us to wander off only for short periods. Shakespeare already used the term figuratively in Romeo and Juliet (1:5): "You kiss by the book." Also see by the numbers.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.