What is Entity-Relationship Diagram (ERD) ? Whats are the rules for ERD ?

Thankx.