try/catch for no rule found