change how actions are stored. they don't belong to a device but into the rules engine