Improve tests for rule 5-14-1.
Constify.
Add support for rule 5-18-1.