koto ni shite iru ことにしている

Predicative phrase meaning: make a practice of (doing), make it a rule to (do)



1. After dictionary form of verb
寝る前に本を読むことにしています
Neru mae ni hon o yomu koto ni shite imasu.
I make it a rule to read (a book) before going to bed.

2. After nai-form of verb
夜ふかししないことにしています
Yofukashi shinai koto ni shite imasu.
I make it a rule not to stay up late.