You can start from these:
Rules | Developer Documentation | SmartThings
FAQ: Getting Started with the new Rules API - Developer Programs / Rules API - SmartThings Community