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 (*). After I enabled the page rule the request is timing out with an error “too many redirect”. (…)

Transform rule : Imgur: The magic of the Internet
Transform & Page rule :

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