A person who pays more attention to formal rules and book learning than they merit.
Scholastic.
Philosophical doctrine.