Writing abuse filters