After customizing a rule it triggers an alarm properly. But when looking at the alarms details, the wrong rule name is being displayed.
When copying a rule the following functions needs to be modified:
The function checkObservationAlarms() is located under "Condition" tab and the createObservationAlarms() function is located under "Severity Level Variables" tab.
The hard coded rule ID or rule name at the end of the functions needs to be changed to the variable foglight_rule_id.