Some of the other unwritten rules are that you do not attack in a feed zone,
and you do not attack whilst the leader of the race is taking a nature break.
Another general rule is that if a team mate is up the road, you don't attack or drive the pace on the front. Exceptions are somtimes made if it's a domestique up the road and the leader has the opportunity to attack, or the person up the road had no chance of winning anyway.
Plus if you're in a break or a reduced selection, then if it's not a mountain you are expected to do a share of the work.
All price money is generally added up and divided equally to everyone on the team. This is because the domestiques generally slave their ass off for the team leader with no hope of earning prize money for themselves. (Unless you're John Gadret, who rode past his team leader - who had a puncture - and refused to hand over a wheel, despite being ordered to by his DS.)
Additionally, in stage races it is the resonsibility of the team with the leader of the race to set the tempo of chasing pack. For example, Schleck has the yellow, so Saxo set the pace. They generally should keep the pace high enough such that the break can be reeled in, if any other team can be bothered to lead the chase (eg the sprinters teams on a flat stage).
In the Tour of Qatar earlier in the year Team SKY (should be called team ground for the way they like to crash as a team) had the race leader but refused to put their men on the front to lead the peloton early in the stage. There was a war of words that resulted in SKY trying to retaliate by driving hard through a feed zone so most of the peloton couldn't get their food, and then in a windy part SKY rode in the middle of the road to force the rest into the gutter due to the echolons. As a result, the rest of the peloton waited for the SKY race leader to take a nature break on the side of the road and they attack en masse, and nearly the entire SKY team finished a few minutes back on the peloton. Boasson-Hagen of SKY would've won the race otherwise.