Prevent a reference error w/o rules in the config. Fixes #8993
(cherry picked from commit 67807c9536ae1810a067155049c96e8d2b634777)
Prevent a reference error w/o rules in the config. Fixes #8993
(cherry picked from commit 67807c9536ae1810a067155049c96e8d2b634777)