Multiple modification rules to map data to a descriptive string

Using Modification rules, I extracted the part of the path that I want, but it's a numeric code. Is there a nice way to map it to a descriptive string?

The first rule I have is:
(\w+).?$ ~=\1
This gives a possible 6 results that I want to now map to descriptive text. I tried doing:
2 = Description A
3 = Descripton B
etc.
but I don't get anything.
1 person has
this question
+1
Reply