I was about to suggest the same thing. Believe @mkgough is using a custom version of a MQTT driver as he mentions in this post.
@mkgough assuming my above statement is correct I would suggest focusing on making the driver filter out and parsing the values you need from your device vs trying to do a lot of parsing in Rule Machine.