1. A method performed by a Diameter Routing Agent (DRA) for enabling a user to define message processing rules, the method comprising: receiving, via a user interface of the DRA, a request to define a behavior rule for the DRA; retrieving metadata associated with a context object; determining that a component specified by the metadata is an enumerated type component; presenting, via the user interface, a first displayed component for the enumerated type component, wherein the first displayed component is associated with a numeric value; presenting, via the user interface, a second displayed component for the enumerated type component, wherein the second displayed component is associated with an alphanumeric value, wherein the first displayed component and the second displayed component represent a same enumerated type component; and receiving, via the user interface, a rule definition, wherein receiving the rule definition comprises receiving a selection of at least one of the first displayed component and the second displayed component.
5. The method of claim 1 , wherein: the second displayed component is associated with a set of possible alphanumeric values and each alphanumeric value of the set corresponds to a numeric value, and the receiving a selection of at least one of the first displayed component and the second displayed component comprises receiving a selection of the second displayed component, and the receiving the rule definition comprises receiving a specified alphanumeric value of the set for the second displayed component; the method further comprising: converting the specified alphanumeric value into a corresponding numeric value; and storing the corresponding numeric value as part of the rule.