Definition of the group captain are a commissioned officer (especially one in the Royal Air Force) equivalent in rank to a colonel in the army .