Create host with underscore in name, for. ex. HOST_1, and discovery rule for. ex. RULE_1.
Or use letters "p", "q", "g", "j" in host's or discovery rule's name.
Open host's (or disc. rule's) edit form, to see it's name in breadcrumbs.
See that names are cut below.
The same is actual for Dashboards: