Revert "Implement the foreign rule" (Wrong Branch)

This reverts commit 336256555608578088698a0eec52e72095a77c5c.