Fix rule operator test_get_rules_data