update embedded rules