Dynamically packet mark

Hello, I’m dealing with some packet tagging rules in mangle, I need to mark packets based on his TOS (DSCP) and the IP protocol.
I’ll explain what I need with an example:

If the packet has TOS=1 and is a POP3 (TCP:110) session the packet mark must be “1-POP3”
If the packet has TOS=4 and is an HTTP (TCP:80) session the packet mark must be “4-HTTP”
And so on…

Of course I can write several mangle rules, with all combinations of TOS and protocols expected, but I think is not a very happy way. (I expecgt about 5 diferents TOS and at least 10 protocols).

The question is if there is any way to generate the packet mark “name” dynamically, based on IP attributes for example.

Thank You!

unfortunately, no way