You can use "cat whiskers" to help seal the window and stop rattles. That's what I used on mine.

If you've the patience, and the measurements, I'm sure you can come up with some type of seal. If you find something, post it here so a few of us can consider it as a choice. TIA.