[TEST] - fix RulesTest
Merge pull request #2092 from aliakseihaidukou/RulesTest

[TEST] - fix RulesTest