Help With Alert Rule

If you want to use Rule Mapping then need to that under Alert rule mapping.
See doc on alert rule mapping. Home - LibreNMS Docs

To test and see the alert rule matches see https://docs.librenms.org/#Support/Device-Troubleshooting/#alerts

Can you post a screenshot of the Alert rule you are working on?