A hierarchy of proof rules for checking positive invariance of algebraic and semi-algebraic sets. (January 2017)