Add test showing usage of custom 'Rule' implementation.