rule based linebreak