Add rules as txt