def get_all(self):
        """
        List all RuleType objects.

        Handles requests:
            GET /ruletypes/
        """
        ruletype_dbs = RuleType.get_all()
        ruletype_apis = [
            RuleTypeAPI.from_model(runnertype_db) for runnertype_db in ruletype_dbs
        ]
        return ruletype_apis

        List all RuleType objects.

        Handles requests:
            GET /ruletypes/
        
st2api/st2api/controllers/v1/ruletypes.py