well my heart rate when i checked it was about 90ish. What happened was my heart just pounded out of my chest really fast for 2-3 seconds. Like feeling a boom boom boom boom boom in my chest then it stopped. Not too worried about it since it has not happened again. Also it has done it when ever i lay on my back.
Can you relate you sudden attack with any emotional change, e.g., being startled by something, or by thinking about something emotional? Emotions can play a big role in your HR.
You say rapid, how rapid, what is the HR? If under 100, I'd not be too worried, if over 150 I would be worried, and seek medical attention. Depending on the existence of other symptoms I'd go for an early appointment with a primary care, such as a "walk-in" medical service or the emergency room.