[BZ-1092084] raise a compilation error when the same attribute is defined twice on a rule