Since rifamycin inhibits the enzyme RNA polymerase, which is a key enzyme for synthesizing messenger RNA, the immediate effect of this antibiotic would be the inhibition of the process of transcription.
Messenger RNA is essential for protein synthesis because it is the mediator between the information in the DNA sequence and the process of translation in which the proteins are made. Therefore, by inhibiting RNA synthesis rifampicin ultimately stops the production of proteins.