Then there is no rule that can do that. Ultimately a custom attribute store? But that's a lot of work...
Maybe you can store the information differently or have the application consuming the token parse the claim...
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.