dabased: implement reaplcement rules for sequences

Add new syntax to replace seqences of glosses.
Rule synopsis in now:

    gloss [++ gloss]... >> gloss [++ gloss]
fix stupid bug in prev commit