fix nested rule for alert

discovered that the alerts were not displayed correctly, so this fixes that