Fix obsolete rule error