This revision is part of a series. Click on the `Stack` tab below to see the context.
This series has also been squeezed into D47633 to provide an overall view.
Commit message:
Since all callers have to do it, save them that burden and do it in
parse_rules() instead.
While here, replace 'strlen(x) == 0' with the simpler and more efficient
'x[0] == 0'.