Adds a rule to this descriptor. Each Instrumentor - Patch pair is joined with this rule. When instrumenting, if inclusion rule matches a class/method that is loaded by the ClassLoader, Instrumentors, that are registered to this descriptor by
addBinding(Instrumentor, Patch) are called with bytecode, that reflects the method. Instrumentor is then supposed to modify that class somehow.
Format of the rule is the same, as fully qualified Java package/class/method names. For example, following are valid rules:
- my.package.
- my.package.SomeClass
- my.*.SomeClass
- my.package.SomeClass.someMethod()V
@param rule A Inclusion rule, that is to be added to this descriptor
@exception JiapiException thrown if there's a syntax error in rule