Add repeat in grammar