maprules.cpp #1