Modescurity to prevent sql injection

i have trouble in making haproxy import modsecurity module for sql injection preventive. should i make spoe or agent in it? or is there any tricks?