In [6], Kotschick and Morita showed that the Gel'fand-Kalinin-Fuks class in H 7 GF (ham 2 , sp(2, R)) 8 is decomposed as a product η ∧ ω of some leaf cohomology class η and a transverse symplectic class ω. We show that the same formula holds for Metoki class, which is a non-trivial element in H 9 GF (ham 2 , sp(2, R)) 14 . The result was a conjecture stated in [6], where they studied characteristic classes of symplectic foliations due to Kontsevich. Our proof depends on Gröbner Basis theory using computer calculations.