Modified custom rule assert methods.