If there are only attributes and no production name, do not add a ":"