  The spread of the Internet of Things (IoT) is demanding new, powerful
architectures for handling the huge amounts of data produced by the IoT
devices. In many scenarios, many existing isolated solutions applied to IoT
devices use a set of rules to detect, report and mitigate malware activities or
threats. This paper describes a development environment that allows the
programming and debugging of such rule-based multi-agent solutions. The
solution consists of the integration of a rule engine into the agent, the use
of a specialized, wrapping agent class with a graphical user interface for
programming and testing purposes, and a mechanism for the incremental
composition of behaviors. Finally, a set of examples and a comparative study
were accomplished to test the suitability and validity of the approach. The
JADE multi-agent middleware has been used for the practical implementation of
the approach.
