Binding a Rule When you create a rule, you specify the monitoring logic and package it for a TIBCO Hawk agent. The agent can apply the rule again and again without intervention. If a problem occurs, the agent can solve it by taking corrective action, or notify you that the problem requires attention, or both, depending on how the rule is designed and implemented. Rules consist of data sources, tests, and actions. Data sources are microagent methods that periodically collect or asynchronously return information to an agent. One or more tests are applied to the resulting data set. When a particular test evaluates to true, one or more actions can be triggered. Figure 6 Flow of Rules and Tests Although a rule uses a single data source as input, you can use a posted condition to indirectly use multiple data sources in a test. For more information, see Posted Conditions. Data Source The data source for a rule is its source of input data, and is always a method of a microagent. When a rule is active, the TIBCO Hawk agent subscribes to the specified method and passes method results to the test.