Want rar files to be handled like zip

When I double click on a zip file it is opened like folder so I can drag and drop out of it. When I do the same with rar I get an error "an error occurred when reading the archive: The archive appaears to be damaged or invalid". The rar is fine and I can right click and extract it.

How can I get it to behave the same as it does for zip files?

Never mind, found the solution after a further search. I had .rar listed as a zip file extension.