but for rule — Legal Definition, Examples & Cases