add parser for transitions (rules)