Old posts but give the general method. You need to break down your binary string into bytes.
and the linked
In general, rules can be as flexible as you write them.
But a serial input string is a serial input string. If it might be one several different types of data, you will somehow need the rule to figure out which type it has to work with. Either by looking at the string, if it contains some type marker. Or by “remembering” what the last query command was, so you know what type to expect.
Start simple, make a rule to log your binary bytes. You’re going to need to choose which of several ways to write rules that you want to use. And how to use and read your openhab logs, because you are going to have to debug this a lot.