Header Modification Rules stripping Cookies

I’ve recently setup a a Header Modification Rule, but it seems its stripping cookies from requests to resource files, e.g:
.css
.js
.woff

My rule is simple
“All incoming traffic”
“Set Dynamic” “X-Known-Bot” “to_string(cf.client.bot)”