Contents of .ofx files

Results of searching the forum on "ofx" imply that Hazel can "read" contents of .ofx files. Doesn't seem to work here.
I'm trying to set up a simple rule with
Date added is today
Extension is ofx
Contents Contain OR Contents Contain Match <Bank account number (all numbers only, ie 123456)>
If the extension is ofx, the "contents" rule shows a red x using the preview rule button, and no contents are shown.
If I do nothing but change the extension (file and rule) to txt, I get a match.
Won't match the header "OFXHEADER" either, so appears that Hazel isn't getting contents for ofx files.
Hazel 5.2, MacOS 13.2, Apple M1 silicon, Rosetta 2 installed.
Yes I can set up a previous rule to change ofx to txt but seems like that shouldn't be necessary.
I'm trying to set up a simple rule with
Date added is today
Extension is ofx
Contents Contain OR Contents Contain Match <Bank account number (all numbers only, ie 123456)>
If the extension is ofx, the "contents" rule shows a red x using the preview rule button, and no contents are shown.
If I do nothing but change the extension (file and rule) to txt, I get a match.
Won't match the header "OFXHEADER" either, so appears that Hazel isn't getting contents for ofx files.
Hazel 5.2, MacOS 13.2, Apple M1 silicon, Rosetta 2 installed.
Yes I can set up a previous rule to change ofx to txt but seems like that shouldn't be necessary.