Add filter by type to rules sidebar