The Decision Rule Approach to Optimisation under Uncertainty: Theory and Applications