Add m_showfile, remove cmd_rules