Update rules.js

add cdn header