Generalized Hartree-Fock method and rotational states