Categorizes a list of events An event can only have one category, although the category may have a hierarchy, for instance: "Work -> ActivityWatch -> aw-server-rust" If multiple categories match, the deepest one will be chosen.
(mut events: Vec<Event>, rules: &[(Vec<String>, Rule)])
source not stored for this graph (policy: none)