rate entity setup