Changes EOF and EOB to context free restrictions