Programmatically add syslog rules to Orion Log Viewer

We have over 500 syslog rules that need to be added to Orion Log Viewer. Is there a way to do this programmatically?