How do I filter Critical Log alerts in Host & service problems

Probably something like 2 but without disabling notifications for the application log itself.
I need checkMK to parse the error and decide if there is a rule to ignore setup.
If there is a rule to ignore and not notify it does not alert.