Added rule for motifs comparison