Interesting rock…. That rectangle looks like a worn away price tag😵. It is extremely odd to find rectangles, no doubt about that… I have found a couple pieces that look like this rock in Minnesota, and I wish i knew where they were…
One looks like a piece of candy, near perfect rectangle approximately 2” in length and it looks like there is a near perfect square of a different color in the center—thus the candy look, it is the only near perfect rectangle I have ever found in my life and it is pretty cool… I believe that ended up being chert. Another piece I found was also chert, but appeared to be part of the sea floor, literally like a section of fossilized floor various shells, worm looking things, near perfect circular shell type pieces, kind of like in your piece, little ”bb” looking pieces…roughly two inches thick and roughly 3”x5”, light gray, dark gray, and part of it on the lower half looked like banded chert. Minnesota (and parts of iowa I believe) was under the sea many moons ago and sharks teeth as well as various types and forms of chert, fossils, shells, etc… are found. Spent half my life in MN and I truly love love LOVE the Lake Superior agate.
I can’t say for certain, but your piece really looks like chert and I would hazard a guess that rectangle is a fossil of some sea creature along with everything else in it… It’s a cool piece and certainly interesting, a keeper for sure!