chiark / gitweb /
move rule matches to function