Applications of linear defeasible logic: Combining resource consumption and exceptions to energy management and business processes