Discrepancy Sets and Pseudorandom Generators for Combinatorial Rectangles