I also use a pegboard. I don't have any rulers that are so small they don't have a hole, except my add a quarter ruler. I kept the packaging it came in which is like a vinyl pouch that does have a hole. so that hangs as well, in its pouch.
I do the same with my longarm templates. They all hang from a pegboard in my LA room. The only ones that don't have a pre-drilled hole are my HQ circle templates and I also kept the packaging and hang that from the pegboard. Love my pegboards.