Add theme rules for SQL