Added latex rules