Help editiing policy for enabling hibernate

Hi there

Newbie here, i have used Ubuntu for several years and recently switched to Fedora.
I have an Asus rog x13 and for various (asus-related) reasons the suspend is not working. The reason is not important but what i have been trying to do is enable hibernate.
I had set it up on Ubuntu using a swap partition and i tried to set it up on the Fedora wo success.
I am running a Fedora 40 and i followed this guide here: [GUIDE] Framework 16 Hibernate (w/ swapfile) Setup on Fedora 40 - Linux - Framework Community
I managed to create the swap file and get pretty far but I am stuck at the SELinux policy step.
When i check with
sudo audit2allow -b

i get a blank output. Then I try to create the policy file using the
sudo audit2allow -b -M systemd_hibernate
command but what I get is

compilation failed: systemd_hibernate.te:6:ERROR 'syntax error' at token '' on line 6: /usr/bin/checkmodule: error(s) encountered while parsing configuration

I tried to use
sudo audit2allow -a -M systemd_hibernate and even though a file was generated the hibernate was still not working.

I am not familiar at all with the policy file making process - in Ubuntu enabling hibernate was a bit more straightforward so any help will be very much appreciated cause I would love to be able to enable hibernate

Thanks in advance
P