Rules Expression Plugins
To implement a Rules Expression Plugin, place your plugin code under the namespace \Drupal\{module_name}\Plugin\RulesExpression\
in {module_name}/src/Plugin/RulesExpression
.
This replaces Drupal 7 Rules' hook_rules_plugin_info
and allows you to extend Rules with other expressions, like other variants of loops, etc.