Add rules to cae.js