Instance Method


Removes all rules from the system.


func removeAllRules()


Calling this method also empties the agenda and executed arrays.

See Also

Managing a System’s List of Rules

var rules: [GKRule]

The list of rules to be executed when evaluating the system.

func add(GKRule)

Adds the specified rule to the system.

func add([GKRule])

Adds the specified list of rules to the system.