why directly editing the rsyslog.conf and not a /etc/rsyslog.d/remove_limit.conf ?
or you could edit the rsyslog.conf, but by not using an append if no line but rather a set_config_values (so that if the value is already there, it is replaced) (caution, since there are $ in it, there might by funky behaviours with the bundle)