User-defined rules.