Fix "if-then" syntax for rsyslog

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>