#513: fix rules