Chemical and structural analysis of RNA-based gene regulation