ruby: slicc: slight change to rule for transitions