'74 air cleaner - before and after

I'll let the mechanic worry about that. But, thought that 1/4" weather strip might do the trick?
Gonna need to be a little chemically resistant. I've been shopping but have not found any thing.