It'd be overwritten, you'd need to chattr it or disabl eximconf updates. variables.conf.custom is for variables.conf overrides only. Please note connect.conf has /etc/exim/rspamd/connect.conf included, if you want to add something there additionally (as it has /etc/exim/rspamd/connect.conf.custom.post).