Getting a Switch interface's name or description

In your first screenshot there the first two interfaces are shown with the “alias”.
What you see in brackets in the right side is the interface description.
For the rule creation you need to keep in mind that only the first rule who matches an interface will win.
In the screenshot the vlan and port-channel interfaces have no alias set but where found by your first discovery rule. If you want to use the description on these interfaces instead of the alias then your alias must only match for the first two interfaces. You can modify the rule that it only matches specific interface types or also you can match on the alias or description with regex.

Example from one of my systems.