The API for Adaptive Rule Drive Devices Programing