Implemented automatic line breaking for long syntax declarations. Set up some prerequisites for line breaking inside rule terms.