The rheology of a smectic main-chain polymer