The invention relates to a surgical controlling system, comprising at least one surgical tool, at least one location estimating means adapted to real-time locate the 3D spatial position of said at least one surgical tool and at least one movement detection means adapted to detect movement of said at least one surgical tool if the 3D spatial position of said at least one surgical tool changes. The system comprises a controller having processing means communicable with a controllers database, said controller adapted to control the spatial position of said at least one surgical tool. The controllers database is adapted to store a predetermined set of rules against which detected movements of the surgical tool are checked for compliance.