According to PX Support, currently only CSS selectors are supported, the UI Element Rule will not accept an Xpath.
For single-page applications, it is a repeating job to develop unique CSS selectors for each key we want to map. However with XPath is much easier to find exact elements without adding complicated auto-generated unique tags.