How does the optional Healing Surge rule interact with other uses of hit dice?

There is an optional rule in the DMG (p. 266-267) for Healing Surges:

As an action, a character can use a healing surge and spend up to half his or her Hit Dice. For each Hit Die spent in this way, the player rolls the die and adds the character’s Constitution modifier. The character regains hit points equal to the total. The player can decide to spend an additional Hit Die after each roll.

A character who uses a healing surge can’t do so again until he or she finishes a short or long rest.

Under this optional rule, a character regains all spent Hit Dice at the end of a long rest. With a short rest, a character regains Hit Dice equal to his or her level divided by four (minimum of one die).

The rules for a Short Rest (PHB p. 186) state:

A character can spend one or more Hit Dice at the end of a short rest, up to the character’s maximum number of Hit Dice, which is equal to the character’s level.

This leads me to two questions about how these things interact:

1) If a character has spent Hit Dice on a Healing Surge, can he or she still spend additional Hit Dice at the end of a Short Rest? (I think yes.)

2) What is the order of things happening “at the end of a short rest” — does the character regain level/4 HD first, and then might re-expend those immediately, or does he expend as many as he or she wants and has left first, and then regains level/4?