updated. added test for rule ccc-base-has-cc. added template