As in Guliani, so to "Pull a Rudy" is to involuntarily fart.
"I don't know why I Pull a Rudy every time I go to church" -or- "So dude, just as I asked her for her phone number, I pulled a Rudy"