Currently the import functionnality is handled by frontend calls.
It uses the official Graylog API. It makes 2 API calls, one to create the rule and one to create the notification.
It would be nice to have a Wizard API endpoint to import a JSON file containing rules.
It would make our Graylog integration easier.
It would also fix the multiple ugly banners which fill all the screen when importing many rules.