adjust to "small" logfile format

Define extra grammars for parsing the OUT, IN, and DENY lines of the logfile
that are different depending on the used log format (one of standard, detailed,
and small).