Iptables does not work after kernel upgrade [`filter': Table does not exist ]

iptables crashes with the following error.
iptables v1.8.3 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)

My Vps is running CentOS Linux release 7.9.2009 (Core). Recently the boot loader was corrupted.
So i had to update/upgrade the kernel in rescue mode, just after it iptables stopped working.
Please find below the information regarding the system.

[root@vps-bce37924 ~]# uname -a
Linux vps-bce37924.vps.ovh.ca 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[root@vps-bce37924 ~]# uname -r
3.10.0-1160.80.1.el7.x86_64
[root@vps-bce37924 ~]# journalctl -xe
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca systemd[1]: Starting IPv4 firewall with iptables…
– Subject: Unit iptables.service has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit iptables.service has begun starting up.
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca iptables.init[16670]: iptables: Applying firewall rules: iptables-restore v1.8.3 (legacy): iptables-restore: unable to initialize table 'filter'
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca iptables.init[16670]: Error occurred at line: 4
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca iptables.init[16670]: Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca iptables.init[16670]: [FAILED]
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca systemd[1]: iptables.service: main process exited, code=exited, status=1/FAILURE
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca systemd[1]: Failed to start IPv4 firewall with iptables.
– Subject: Unit iptables.service has failed
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit iptables.service has failed.

– The result is failed.
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca systemd[1]: Unit iptables.service entered failed state.
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca systemd[1]: iptables.service failed.
Apr 05 07:10:43 vps-bce37924.vps.ovh.ca polkitd[611]: Unregistered Authentication Agent for unix-pro

Hi,
Could you post the full rules from iptables-restore ?