Unless you NEED complex rules, try the built in Button Controller app or Simple Automation app. Rule Machine is a much heavier, harder to understand, app. It is overkill for most uses.
I would even go so far as to recommend a much cleaner and easier community based button controller app, Advanced Button Controller.