generalise tags in notification rules