[ca] improvements in rules