Finalizing rules.