Does this break Da Rules?

So I recently finished the 10th episode of A New Wish, Weird Science, and I was wondering if the wish Hazel made breaks Da Rules. One of the more consistent rules is you can’t use magic to win a competition, but Hazel used magic to wish the laws of science allowed her project to work specifically so she could win the Science Fair

My current headcanon is that because she wished the laws of science for the whole universe were altered to allow her project to work, and didn’t just say “I wish my project worked” or “I wish I won first place” then that is why Da Rules didn’t take effect, but I wanted to know what others think