Update rules.cpp to remove includes