modified dump_rule_media in dump.h (test case)