Application of a unified rate and state friction theory to the mechanics of fault zones with strain localization