[JBRULES-3701] Add ability to trait a map