added rule interesting motifs
Changed edit_upstream