def add(self, effect=None, act=None, obj=None,<EOL>policy=None, policies=None):
if policies is not None:<EOL><INDENT>for p in policies:<EOL><INDENT>self.add(policy=p)<EOL><DEDENT><DEDENT>elif policy is not None:<EOL><INDENT>for e, a, o in policy:<EOL><INDENT>self.add(e, a, o)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>objc = obj.components if obj is not None else []<EOL>self.tree[act.components + objc] = effect<EOL><DEDENT>
Insert an individual (effect, action, object) triple or all
        triples for a policy or list of policies.