Perforated impression tray with retention rim