Neither rscompat_extra_from_resource_3_0() itself, or the calling code checks if the ruleset being loaded is 2.6 or 3.0 one, but they work like always loading a 2.6 ruleset. Luckily it's within a code block that already indicates an error in 3.0 ruleset format -> the erroneous behavior is that it accepts and converts 3.0 ruleset where the situation should be considered hard error.
Neither rscompat_extra_from_resource_3_0() itself, or the calling code checks if the ruleset being loaded is 2.6 or 3.0 one, but they work like always loading a 2.6 ruleset. Luckily it's within a code block that already indicates an error in 3.0 ruleset format -> the erroneous behavior is that it accepts and converts 3.0 ruleset where the situation should be considered hard error.