Retain rule id.
Re-add lost downlink check.
Fix checkBoxFlag() usage.