Optimal Decision Rules for Weak GMM