Fix "if-then" syntax for rsyslog

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Merge branch 'fix_syslog'