PLN rules and testing