Revert "Replaced the regex-based transformation of CSS to XPath"

This reverts commit 3ea5e0ece186e2c47d0aee91a65ad5af364c937d.