Quit Keyboard Maestro and Keyboard Maestro Engine if running.
Restore the ~/Library/Application Support/Keyboard Maestro folder
To get there, in the Finder, hold the option key down and select Library from the Go menu, then drill down into Application Support and then find the Keyboard Maestro.