added ts rules