Custom rules implemented.