There's really no reason to be rude about someone offering well wishes whether they be in the form of prayer or otherwise.  If you don't believe in prayer then that is certainly your right, but it's no excuse for rudeness or unkindness towards someone who is simply wanting to express kindness and caring towards someone they are otherwise unable to help.