First simple completion version
Implemenmted completion and self-adaptation rules