$db object no longer used in rule operator