Redirect loop when setting both page rules and transform rules for the same hostname

I tried the new transform rule for dynamic url rewriting today by concating request pathname to my b2 bucket name( concat("/file/b2-bucket",http.request.uri.path). This worked perfectly until I added a page rule for the same hostname. Since the request was returning a cache-control of max-age:0 , I setup a page rule for browser cache and edge cache (image.example.com/*). After I enabled the page rule the request is timing out with an error “too many redirect”. ( image.example.com//file/b2-bucket/file/b2-bucket/file/b2-bucket/file/b2-bucket/file/b2-bucket…)

Transform rule : Imgur: The magic of the Internet
Transform & Page rule : https://imgur.com/a/xUlTaMg

PS: I know I can set cache control at backblaze. I just want to know why this didn’t work