On Sun, 21 Sep 2025 18:28:16 +0200, Anders Lundstedt wrote: > Any advice would be greatly appreciated! The first "in" needs to be list of pred something. |:- mode apply_rules(in,in,out) is semidet. There are examples in the manual, and extras directory, I believe. /Tomas