Are you sure this applies to AFPS05? It was my understanding that for 05, you had to take a break of service of not less than the equivalent time it would have taken to earn the gratuity....ie 1 year+, otherwise it has to be repaid.
This is for the case when you retire early and get an early retirement bonus (forget official term).