...
The list of rules is sorted by keys; for instance, rule 10 will run before rule 20.
The featurr feature matches the log entry against the regex of each rule and if matched, adds it to a temporary list. The entries from this list are then inserted into the database. A single log entry can be archived into multiple archives based on matching rules.
...