Adding 'createRulesExpression' method to @covers block.