RAIN: A novel approach to computer-aided decision making in agriculture and forestry