Fix test_security_groups_rules