Deterrence and rational choice theory

What is deterrence and rational choice theory? What is the difference between specific and general deterrence? What is the difference between deterrence and rational choice theory?