Josh Brookes won Race One at Brands Hatch to set up a thrilling showdown with Scott Redding on Sunday.