I download and built the 5.8 sources, and did some testing, and to cut a long story short, all you need to do is change from using double-quotes to single-quotes for your string constants in RainerScript. I.e. try
if $fromhost-ip=='192.168.0.50' and $syslogseverity<=4 then ...
For other readers who may need to do a similar build,
I downloaded the 5.8 ...
You should copy the key, the certificate and the root certificate chain. ALso you need to install rsyslog-gnutls. Then add the lines in the config (something like):
Your rsyslog configuration specifies to log to a file or device that does not exist and cannot be created. Did you make a typo when you edited your configuration?
You can find out which path is being referred to with a command like:
[root@localhost ~]# rsyslogd -dn 2>/dev/null | grep "ACTION 8"