Fix regression when displaying inactive or active rules