use AiRule instead of Any for exceptions