To create rules to table lines, all you have to do is select the desired object and select the option Conditional Formatting on the Object tab on the sidebar.