how alerting rule is implemented in grafana and vmalert