Dirac prescription from BRST symmetry in FRW space-time