semgrep-core rule validation failed (RuleParseError)

Rules downloaded from https://semgrep.dev/c/p/ci failed to parse.
This is likely because rules have been added that use functionality introduced in later versions of semgrep.
Please upgrade to latest version of semgrep (see https://semgrep.dev/docs/upgrading/) and try again.

semgrep error: Invalid rule schema
  --> https://semgrep.dev/...:2
2 | - id: eqeq-bad
3 |   pattern-new-feature: $X == $X
4 |   message: "useless comparison"
5 |   languages: [python]
6 |   severity: ERROR

{'id': 'eqeq-bad', 'pattern-new-feature': '$X == $X', 'message': 'useless comparison', 'languages': ['python'], 'severity': 'ERROR'} is not valid under any of the given schemas

[ERROR] invalid configuration file found (1 configs were invalid)
