Button Controller+ and Rule Machine are both SmartApps. See the instructions for Rule Machine here: Rule machine - as per the app developer, this app is no longer available for new installs, distribution, or support.
For Button Controller+, in the IDE, My SmartApps, Create New SmartApp, From Code tab, paste the code from Github (which you can get by hitting Raw, then select all and copy), Save and Publish for Me. Then you can install one instance of that app from the MarketPlace/SmartApps/My Apps for each button controller.