initial checkin of reminder rules and JS functions. No query functions
yet.