Create Classification rule for types of Sentences structure?

Greets,

I need a feature to analysise the input sentences via API into 4 categories

1-Simple Sentences E.g ( He organized his sources by theme.)
2-Compound Sentences (She completed her literature review, and she created her reference list.)
3-Complex Sentences (Although she completed her literature review, she still needed to work on her methods section.)
4-Compound-Complex Sentences ( She completed her literature review but she still needs to work on her methods section even though she finished her methods course last semester )

Is that even possible by creating a custom rules ? and does the premium server has such a feature?

Thanks.