Update Rule.cpp