what challenges did william and mary face as rulers