make rule box and metadata table more mobile friendly