What does 'Rocks and shoals' mean?

Chow & barracks life

Rocks and shoals

Navy

Old Navy slang for Navy rules and regulations.

“The old chief called the rulebook rocks and shoals.”