Probably what was intended with "generate SQL-queries in the PHP-code for checking rules per interface." Does not compile yet.
test