Cloudflare’s page rules only take effect if you are using Cloudflare. Also, they have nothing to do with the connection between Cloudflare and the origin (InfinityFree).
So I am confused as to what you mean.
Maybe the actual error is that you did not setup Cloudflare correctly.