Fix startup when no rule registered - backport from master