Which subject best helps diagnose weak syntactic composition?

Speaker Balagha, the Foundations of Discourse Eloquence and the Three Arts