With a TJ, 2" of lift and Dicos you can still rub. least mine does when flexing hard, but that is basically ramped to full flex.
You will be fine with 31's on your Stock TJ. When you get Discos you will rub a bit when flexed but most TJ owners don't complain.