[ca] tiny improvements in rules