Hello! First of all, thanks for this great library!
I had a use-case where I wanted to find the matching elements of the rules instead of simply their text. So I opted for the changes described by this PR and tried to keep them as minimal as possible. I hope you find them useful and consider merging them.
If you are onboard with the idea behind this PR, but not keen on the implementation, feel free to suggest alternatives.
Hello! First of all, thanks for this great library!
I had a use-case where I wanted to find the matching elements of the rules instead of simply their text. So I opted for the changes described by this PR and tried to keep them as minimal as possible. I hope you find them useful and consider merging them. If you are onboard with the idea behind this PR, but not keen on the implementation, feel free to suggest alternatives.