A new bill would ensure that the principle of equal treatment under the law applies to the federal government, too.