I spent 19 years with my last company. We had an unwritten rule that if someone walked, they never came back. Only one exception was ever allowed and he walked again within six months. In my opinion it is always a mistake to re-hire someone who has already quit because they were unhappy.