Implements a couple of rules from the current configuration

Introduces the gu-transform function to abstract event rewriting.
Lookup other metrics from index