We are commanded repetitively by God and his messenger to honour our contracts and not to break them:
Rasul-Allah (saw) was asked what type of earning was the best, to
which Rasul-Allah (SAW) answered, ''The work of a man's own hand, and
every pious sale''. [Hakim] Rasul-Allah (saw) said, ''A trustworthy
and an honest and truthful businessman will rise up with martyrs on
the Day of Resurrection.'' [Ibn Majah, Hakim] He (saw) also said, ''A
truthful, and trustworthy trader will rise up with the Prophets, the
righteous and the martyrs.'' [al-Hamim, Tirmidhi]
'O you who believe! Fulfil all your covenants'' [ 5:1]
''Fulfil (every) engagement, for (every) engagement will be enquired
into (on the Day of Reckoning)'' [17:34]
Therefore I would say that by going against the regulations defined within the contract you will be breaking them and by doing so you will also be going against the commands of God.
No matter what the reason may be, remember that these rules defined within your contract is something which you have agreed upon in the first place, agreeing to something and going against it by will can be a form of deception or hypocrisy.
one choice you can make is leave freelancing for the sake of God and trust in him as he will provide you with what is better:
And whosoever puts his trust in Allâh, then He will suffice him [Surat
At-Talâq: 3]
It was reported from the Prophet (peace be upon him) that he said:
"Anyone leaves something for the sake of Allah, Allah shall compensate
him a better one for that."
Another choice would be to consult your employer with this, although they sometimes set these rules and regulations, they tend to make exceptions when you discuss those rules with them.
Forgive me if my answer seems harsh, I am only sharing my understanding!
God knows best! May God guide us all!