rules/common/avoid_duplicate_cascades library