Rather indicates a preference or specificity and, though more casual in use, an uncertain amount of something; whether indicates alternative choices (see if or whether). Thus I would rather eat alone, She knows me—or rather I know her, It’s rather chilly out, and I don’t know whether he’s free, I’m coming whether or not you like it. Do not misuse rather in place of whether.