Unfortunately, Magento has changed the signature of applyRules() between 2.4.3 and 2.4.4 which breaks your plugin: **2.4.3** https://github.com/magento/magento2/blob/4c36116dcf878e127059d9be9566a119783583f2/app/code/Magento/SalesRule/Model/RulesApplier.php#L96-L106 **2.4.4** https://github.com/magento/magento2/blob/0f9a056c8d83c4f319626b3e56ec52a533999f25/app/code/Magento/SalesRule/Model/RulesApplier.php#L99-L109 `$rules` is now a simple `array` and not a `Magento\SalesRule\Model\ResourceModel\Rule\Collection` anymore.
Unfortunately, Magento has changed the signature of applyRules() between 2.4.3 and 2.4.4 which breaks your plugin:
2.4.3
https://github.com/magento/magento2/blob/4c36116dcf878e127059d9be9566a119783583f2/app/code/Magento/SalesRule/Model/RulesApplier.php#L96-L106
2.4.4
https://github.com/magento/magento2/blob/0f9a056c8d83c4f319626b3e56ec52a533999f25/app/code/Magento/SalesRule/Model/RulesApplier.php#L99-L109
$rulesis now a simplearrayand not aMagento\SalesRule\Model\ResourceModel\Rule\Collectionanymore.