API change for getRuleById
improve error handling
add --version CLI