Mix rice, oats, onion, bread crumbs, milk, basil, oregano, cayenne, and egg. Press mixture into small baking dish. Mix panko and parmesan, put on top of mixture. Bake for 20 minutes or until crispy or browned. (If topping starts browning too soon, cover loosely with aluminum foil.)