Updating rules base