[ca] small improvements in rules