How can item metadata be accessed in rules?

I figured out how to do this using JSR223…