Enforcing Hard Linear Constraints in Deep Learning Models with Decision Rules