- TSPHP-752 cast assign, wrong precedence
-- changed PrecedenceHelper to int based solution (should be faster)
-- added clone, new and CAST to the precedence rules