Help on Syslog Rule Filtering

Help on Syslog Rule Filtering

Hello,

I am currently setup a syslog rule.
I have seen the example of regex with a sentence.
Basically I will have a log with a format xxx xxx   Rating:0   yyy cccc 25 40 30
with several field
I wanted to confirm if the regex filtering for AND or OR is considering each word and in my case Rating:0 will be considered as a word on which I can filter ie

Rating:0
Rating: 1

Thanks,