Some things I worked through with a student, based on the book Joe Porcaro’s Drum Set Method. It’s an interesting book, based on practical applications of rudiments as embellishments, fills, and for soloing. It’s rather difficult to work with, the way it’s organized. I’ll do a full review of it sometime.
The “ruffs” here are in open form, played as part of a triplet. That’s not a ruff to me— there’s some antiquated terminology that calls any group of 3-4 fast notes a ruff, and any group of 5+ fast notes a roll. No matter, we’re dealing with a three quick note “thing.”

Swing the 8th notes. Get the pattern, then try some possibilities moving the ruff portion around the drums, and then improvise.