T6061: fix rule parsing when connection-status is used
(cherry picked from commit 8f2534e9654b61b7db45788bb52ac6cf8017b054)