Design, synthesis and biological evaluation of 7H-pyrrolo[2,3-d]pyrimidin-4-amine derivatives as selective Btk inhibitors with improved pharmacokinetic properties for the treatment of rheumatoid arthritis.