def exec_rule(self, rule):
        """
        :rule : the Ant class of rule, which must have a start() function
        """
        print("running Rule: {0}".format(rule.__name__))
        ant = rule()
        ant.start()
def exec_rule ( self , rule ) : print ( "running Rule: {0}" . format ( rule . __name__ ) ) ant = rule ( ) ant . start ( )
:rule : the Ant class of rule, which must have a start() function