6.1.1. User rules
Let us start with a very simple example of a user rule:
firstrule.r
MyFirstRule { writeLine("stdout", "Hello world!"); } OUTPUT ruleExecOut
This rule can be run by a normal user irule -F firstrule.r and produces following output: