Theory and simulations of rigid polyelectrolytes