Subrings which are closed with respect to taking the inverse